You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed this issue by changing src/service/gateways/coinbase-api.ts:375 from 'product_id': self.productID, to 'channels': [{'name': 'full', 'product_ids': [self.productID] }],. I'd submit a PR, but this project looks abandoned.
The web ui keep showing disconnected from exchange and tribeca.
Mode and Exchange Configs:
"TRIBECA_MODE": "prod", "EXCHANGE": "coinbase",
And Coinbase Config:
"CoinbaseRestUrl": "https://api.gdax.com", "CoinbaseWebsocketUrl": "wss://ws-feed.gdax.com", "CoinbasePassphrase": "Hidden", "CoinbaseApiKey": "Hidden", "CoinbaseSecret": "Hidden", "CoinbaseOrderDestination": "Coinbase",
My error log:
tribeca_1 | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Starting parameter: QuotingParameters {\n width: 0.3,\n size: 0.05,\n mode: 0,\n fvModel: 0,\n targetBasePosition: 3,\n positionDivergence: 0.8,\n ewmaProtection: false,\n autoPositionMode: 0,\n aggressivePositionRebalancing: false,\n tradesPerMinute: 2.5,\n tradeRateSeconds: 300,\n longEwma: 0.095,\n shortEwma: 0.19,\n quotingEwma: 0.095,\n aprMultiplier: 3,\n stepOverSize: 0.1 }","time":"2020-02-06T06:10:27.342Z","v":0} tribeca_1 | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Starting saved quoting state: false","time":"2020-02-06T06:10:27.345Z","v":0} tribeca_1 | {"name":"ewma","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:27.346Z","v":0} tribeca_1 | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:27.354Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange: { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:27.823Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange: { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:27.825Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange: { old: 'syncing', new: 'processing' }","time":"2020-02-06T06:10:28.215Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Connected)","time":"2020-02-06T06:10:28.216Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Connected :: (md: Connected) (oe: Connected)","time":"2020-02-06T06:10:28.392Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"statechange: { old: 'processing', new: 'error' }","time":"2020-02-06T06:10:28.394Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Connected) (oe: Disconnected)","time":"2020-02-06T06:10:28.394Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Disconnected)","time":"2020-02-06T06:10:28.395Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2546,"level":40,"msg":"Received message out of order, expected 12128541120 but got undefined","time":"2020-02-06T06:10:28.395Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":50,"err":{"message":"Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])","name":"Error [ERR_UNHANDLED_ERROR]","stack":"Error [ERR_UNHANDLED_ERROR]: Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])\n at exports.OrderBook.emit (events.js:116:17)\n at exports.OrderBook.prototype.processMessage (/tribeca/tribeca/service/gateways/coinbase-api.js:373:14)\n at arrayEach (/tribeca/node_modules/lodash/lodash.js:537:11)\n at Function.forEach (/tribeca/node_modules/lodash/lodash.js:9359:14)\n at load (/tribeca/tribeca/service/gateways/coinbase-api.js:342:15)\n at Request._callback (/tribeca/tribeca/service/gateways/coinbase-api.js:358:17)\n at Request.self.callback (/tribeca/node_modules/request/request.js:188:22)\n at Request.emit (events.js:127:13)\n at Request.<anonymous> (/tribeca/node_modules/request/request.js:1171:10)\n at Request.emit (events.js:127:13)","code":"ERR_UNHANDLED_ERROR"},"msg":"Unhandled exception!","time":"2020-02-06T06:10:28.400Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"persisting active to false","time":"2020-02-06T06:10:28.401Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"All exiting event handlers have fired, exiting application.","time":"2020-02-06T06:10:28.406Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2546,"level":30,"msg":"Exiting with code 0","time":"2020-02-06T06:10:28.406Z","v":0} tribeca_1 | error: Forever detected script exited with code: 0 tribeca_1 | error: Script restart attempt #254 tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"TradedPair = BTC/USD","time":"2020-02-06T06:10:29.137Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"WebClientUsername = NULL","time":"2020-02-06T06:10:29.145Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"WebClientPassword = NULL","time":"2020-02-06T06:10:29.145Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"WebClientListenPort = 3000","time":"2020-02-06T06:10:29.147Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"EXCHANGE = coinbase","time":"2020-02-06T06:10:29.152Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"MongoDbUrl = mongodb://tribeca-mongo:27017/tribeca","time":"2020-02-06T06:10:29.152Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Listening to admins on *: 3000","time":"2020-02-06T06:10:29.168Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:29.228Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:29.229Z","v":0} tribeca_1 | {"name":"persister:osr","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"osr","msg":"load docs completed","time":"2020-02-06T06:10:29.245Z","v":0} tribeca_1 | {"name":"persister:trades","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"trades","msg":"load docs completed","time":"2020-02-06T06:10:29.245Z","v":0} tribeca_1 | {"name":"persister:mt","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":100,"nLoaded":0,"dbName":"mt","msg":"load docs completed","time":"2020-02-06T06:10:29.246Z","v":0} tribeca_1 | {"name":"persister:msg","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"msg","msg":"load docs completed","time":"2020-02-06T06:10:29.247Z","v":0} tribeca_1 | {"name":"persister:rfv","hostname":"1166d3fd347b","pid":2556,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"rfv","msg":"load docs completed","time":"2020-02-06T06:10:29.247Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseApiKey = Hidden","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseSecret = Hidden","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbasePassphrase = Hidden","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:29.248Z","v":0} tribeca_1 | starting coinbase public client, apiURI = https://api.gdax.com tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseWebsocketUrl = wss://ws-feed.gdax.com","time":"2020-02-06T06:10:29.445Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:29.446Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Starting connect","time":"2020-02-06T06:10:29.446Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"CoinbaseOrderDestination = Coinbase","time":"2020-02-06T06:10:29.452Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"TRIBECA_MODE = prod","time":"2020-02-06T06:10:29.461Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"pair":"BTC/USD","minTick":0.01,"hasSelfTradePrevention":true,"msg":"using the following exchange details","time":"2020-02-06T06:10:29.467Z","v":0} tribeca_1 | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Starting parameter: QuotingParameters {\n width: 0.3,\n size: 0.05,\n mode: 0,\n fvModel: 0,\n targetBasePosition: 3,\n positionDivergence: 0.8,\n ewmaProtection: false,\n autoPositionMode: 0,\n aggressivePositionRebalancing: false,\n tradesPerMinute: 2.5,\n tradeRateSeconds: 300,\n longEwma: 0.095,\n shortEwma: 0.19,\n quotingEwma: 0.095,\n aprMultiplier: 3,\n stepOverSize: 0.1 }","time":"2020-02-06T06:10:29.472Z","v":0} tribeca_1 | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Starting saved quoting state: false","time":"2020-02-06T06:10:29.477Z","v":0} tribeca_1 | {"name":"ewma","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:29.480Z","v":0} tribeca_1 | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:29.490Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange: { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:29.983Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange: { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:29.986Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange: { old: 'syncing', new: 'processing' }","time":"2020-02-06T06:10:30.387Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Connected)","time":"2020-02-06T06:10:30.388Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Connected :: (md: Connected) (oe: Connected)","time":"2020-02-06T06:10:30.580Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"statechange: { old: 'processing', new: 'error' }","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Connected) (oe: Disconnected)","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Disconnected)","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2556,"level":40,"msg":"Received message out of order, expected 12128541610 but got undefined","time":"2020-02-06T06:10:30.582Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":50,"err":{"message":"Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])","name":"Error [ERR_UNHANDLED_ERROR]","stack":"Error [ERR_UNHANDLED_ERROR]: Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])\n at exports.OrderBook.emit (events.js:116:17)\n at exports.OrderBook.prototype.processMessage (/tribeca/tribeca/service/gateways/coinbase-api.js:373:14)\n at arrayEach (/tribeca/node_modules/lodash/lodash.js:537:11)\n at Function.forEach (/tribeca/node_modules/lodash/lodash.js:9359:14)\n at load (/tribeca/tribeca/service/gateways/coinbase-api.js:342:15)\n at Request._callback (/tribeca/tribeca/service/gateways/coinbase-api.js:358:17)\n at Request.self.callback (/tribeca/node_modules/request/request.js:188:22)\n at Request.emit (events.js:127:13)\n at Request.<anonymous> (/tribeca/node_modules/request/request.js:1171:10)\n at Request.emit (events.js:127:13)","code":"ERR_UNHANDLED_ERROR"},"msg":"Unhandled exception!","time":"2020-02-06T06:10:30.588Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"persisting active to false","time":"2020-02-06T06:10:30.588Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"All exiting event handlers have fired, exiting application.","time":"2020-02-06T06:10:30.594Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2556,"level":30,"msg":"Exiting with code 0","time":"2020-02-06T06:10:30.594Z","v":0} tribeca_1 | error: Forever detected script exited with code: 0 tribeca_1 | error: Script restart attempt #255 tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"TradedPair = BTC/USD","time":"2020-02-06T06:10:31.358Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"WebClientUsername = NULL","time":"2020-02-06T06:10:31.366Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"WebClientPassword = NULL","time":"2020-02-06T06:10:31.366Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"WebClientListenPort = 3000","time":"2020-02-06T06:10:31.368Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"EXCHANGE = coinbase","time":"2020-02-06T06:10:31.372Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"MongoDbUrl = mongodb://tribeca-mongo:27017/tribeca","time":"2020-02-06T06:10:31.372Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Listening to admins on *: 3000","time":"2020-02-06T06:10:31.389Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:31.456Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:31.457Z","v":0} tribeca_1 | {"name":"persister:osr","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"osr","msg":"load docs completed","time":"2020-02-06T06:10:31.475Z","v":0} tribeca_1 | {"name":"persister:trades","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"trades","msg":"load docs completed","time":"2020-02-06T06:10:31.475Z","v":0} tribeca_1 | {"name":"persister:mt","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":100,"nLoaded":0,"dbName":"mt","msg":"load docs completed","time":"2020-02-06T06:10:31.476Z","v":0} tribeca_1 | {"name":"persister:msg","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"msg","msg":"load docs completed","time":"2020-02-06T06:10:31.477Z","v":0} tribeca_1 | {"name":"persister:rfv","hostname":"1166d3fd347b","pid":2566,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"rfv","msg":"load docs completed","time":"2020-02-06T06:10:31.477Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseApiKey = Hidden","time":"2020-02-06T06:10:31.478Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseSecret = Hidden","time":"2020-02-06T06:10:31.479Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbasePassphrase = Hidden","time":"2020-02-06T06:10:31.479Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:31.479Z","v":0} tribeca_1 | starting coinbase public client, apiURI = https://api.gdax.com tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseWebsocketUrl = wss://ws-feed.gdax.com","time":"2020-02-06T06:10:31.686Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:31.686Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Starting connect","time":"2020-02-06T06:10:31.686Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"CoinbaseOrderDestination = Coinbase","time":"2020-02-06T06:10:31.694Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"TRIBECA_MODE = prod","time":"2020-02-06T06:10:31.705Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"pair":"BTC/USD","minTick":0.01,"hasSelfTradePrevention":true,"msg":"using the following exchange details","time":"2020-02-06T06:10:31.712Z","v":0} tribeca_1 | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Starting parameter: QuotingParameters {\n width: 0.3,\n size: 0.05,\n mode: 0,\n fvModel: 0,\n targetBasePosition: 3,\n positionDivergence: 0.8,\n ewmaProtection: false,\n autoPositionMode: 0,\n aggressivePositionRebalancing: false,\n tradesPerMinute: 2.5,\n tradeRateSeconds: 300,\n longEwma: 0.095,\n shortEwma: 0.19,\n quotingEwma: 0.095,\n aprMultiplier: 3,\n stepOverSize: 0.1 }","time":"2020-02-06T06:10:31.717Z","v":0} tribeca_1 | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Starting saved quoting state: false","time":"2020-02-06T06:10:31.722Z","v":0} tribeca_1 | {"name":"ewma","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:31.725Z","v":0} tribeca_1 | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:31.734Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange: { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:32.203Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange: { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:32.205Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange: { old: 'syncing', new: 'processing' }","time":"2020-02-06T06:10:32.638Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Connected)","time":"2020-02-06T06:10:32.639Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Connected :: (md: Connected) (oe: Connected)","time":"2020-02-06T06:10:32.850Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"statechange: { old: 'processing', new: 'error' }","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Connected) (oe: Disconnected)","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1 | {"name":"ex:broker","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Disconnected)","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2566,"level":40,"msg":"Received message out of order, expected 12128541913 but got undefined","time":"2020-02-06T06:10:32.852Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":50,"err":{"message":"Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])","name":"Error [ERR_UNHANDLED_ERROR]","stack":"Error [ERR_UNHANDLED_ERROR]: Unhandled error. (time=1/1/70 00:00:00,000;data=[object Object])\n at exports.OrderBook.emit (events.js:116:17)\n at exports.OrderBook.prototype.processMessage (/tribeca/tribeca/service/gateways/coinbase-api.js:373:14)\n at arrayEach (/tribeca/node_modules/lodash/lodash.js:537:11)\n at Function.forEach (/tribeca/node_modules/lodash/lodash.js:9359:14)\n at load (/tribeca/tribeca/service/gateways/coinbase-api.js:342:15)\n at Request._callback (/tribeca/tribeca/service/gateways/coinbase-api.js:358:17)\n at Request.self.callback (/tribeca/node_modules/request/request.js:188:22)\n at Request.emit (events.js:127:13)\n at Request.<anonymous> (/tribeca/node_modules/request/request.js:1171:10)\n at Request.emit (events.js:127:13)","code":"ERR_UNHANDLED_ERROR"},"msg":"Unhandled exception!","time":"2020-02-06T06:10:32.858Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"persisting active to false","time":"2020-02-06T06:10:32.859Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"All exiting event handlers have fired, exiting application.","time":"2020-02-06T06:10:32.864Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2566,"level":30,"msg":"Exiting with code 0","time":"2020-02-06T06:10:32.864Z","v":0} tribeca_1 | error: Forever detected script exited with code: 0 tribeca_1 | error: Script restart attempt #256 tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"TradedPair = BTC/USD","time":"2020-02-06T06:10:33.714Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"WebClientUsername = NULL","time":"2020-02-06T06:10:33.722Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"WebClientPassword = NULL","time":"2020-02-06T06:10:33.722Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"WebClientListenPort = 3000","time":"2020-02-06T06:10:33.725Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"EXCHANGE = coinbase","time":"2020-02-06T06:10:33.728Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"MongoDbUrl = mongodb://tribeca-mongo:27017/tribeca","time":"2020-02-06T06:10:33.728Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Listening to admins on *: 3000","time":"2020-02-06T06:10:33.744Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:33.816Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"ShowAllOrders = true","time":"2020-02-06T06:10:33.816Z","v":0} tribeca_1 | {"name":"persister:osr","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"osr","msg":"load docs completed","time":"2020-02-06T06:10:33.844Z","v":0} tribeca_1 | {"name":"persister:trades","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"trades","msg":"load docs completed","time":"2020-02-06T06:10:33.845Z","v":0} tribeca_1 | {"name":"persister:mt","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":100,"nLoaded":0,"dbName":"mt","msg":"load docs completed","time":"2020-02-06T06:10:33.845Z","v":0} tribeca_1 | {"name":"persister:msg","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"msg","msg":"load docs completed","time":"2020-02-06T06:10:33.846Z","v":0} tribeca_1 | {"name":"persister:rfv","hostname":"1166d3fd347b","pid":2576,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"rfv","msg":"load docs completed","time":"2020-02-06T06:10:33.846Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseApiKey = Hidden","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseSecret = Hidden","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbasePassphrase = Hidden","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:33.848Z","v":0} tribeca_1 | starting coinbase public client, apiURI = https://api.gdax.com tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseWebsocketUrl = wss://ws-feed.gdax.com","time":"2020-02-06T06:10:34.071Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2020-02-06T06:10:34.071Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Starting connect","time":"2020-02-06T06:10:34.072Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"CoinbaseOrderDestination = Coinbase","time":"2020-02-06T06:10:34.078Z","v":0} tribeca_1 | {"name":"tribeca:config","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"TRIBECA_MODE = prod","time":"2020-02-06T06:10:34.087Z","v":0} tribeca_1 | {"name":"tribeca:main","hostname":"1166d3fd347b","pid":2576,"level":30,"pair":"BTC/USD","minTick":0.01,"hasSelfTradePrevention":true,"msg":"using the following exchange details","time":"2020-02-06T06:10:34.095Z","v":0} tribeca_1 | {"name":"tribeca:qpr","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Starting parameter: QuotingParameters {\n width: 0.3,\n size: 0.05,\n mode: 0,\n fvModel: 0,\n targetBasePosition: 3,\n positionDivergence: 0.8,\n ewmaProtection: false,\n autoPositionMode: 0,\n aggressivePositionRebalancing: false,\n tradesPerMinute: 2.5,\n tradeRateSeconds: 300,\n longEwma: 0.095,\n shortEwma: 0.19,\n quotingEwma: 0.095,\n aprMultiplier: 3,\n stepOverSize: 0.1 }","time":"2020-02-06T06:10:34.106Z","v":0} tribeca_1 | {"name":"tribeca:active","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Starting saved quoting state: false","time":"2020-02-06T06:10:34.113Z","v":0} tribeca_1 | {"name":"ewma","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"Unable to compute EMWA value","time":"2020-02-06T06:10:34.117Z","v":0} tribeca_1 | {"name":"mt:broker","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"loaded 0 market trades","time":"2020-02-06T06:10:34.129Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"statechange: { old: 'closed', new: 'open' }","time":"2020-02-06T06:10:34.606Z","v":0} tribeca_1 | {"name":"tribeca:gateway:coinbase-api","hostname":"1166d3fd347b","pid":2576,"level":30,"msg":"statechange: { old: 'open', new: 'syncing' }","time":"2020-02-06T06:10:34.608Z","v":0}
The text was updated successfully, but these errors were encountered: