Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web ui not working #224

Open
rclai opened this issue Mar 7, 2018 · 1 comment
Open

web ui not working #224

rclai opened this issue Mar 7, 2018 · 1 comment

Comments

@rclai
Copy link

rclai commented Mar 7, 2018

I installed using docker-compose. The mongodb database is fine, the exchange api keys are correct, but the web ui doesn't exist:

warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"TradedPair = BTC/USD","time":"2018-03-07T05:10:42.827Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"WebClientUsername = NULL","time":"2018-03-07T05:10:42.835Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"WebClientPassword = NULL","time":"2018-03-07T05:10:42.835Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"WebClientListenPort = 3333","time":"2018-03-07T05:10:42.837Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"EXCHANGE = coinbase","time":"2018-03-07T05:10:42.839Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"MongoDbUrl = mongodb://tribeca-mongo:27017/tribeca","time":"2018-03-07T05:10:42.839Z","v":0}
{"name":"tribeca:main","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Listening to admins on *: 3333","time":"2018-03-07T05:10:42.851Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"ShowAllOrders = true","time":"2018-03-07T05:10:42.889Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"ShowAllOrders = true","time":"2018-03-07T05:10:42.889Z","v":0}
{"name":"persister:osr","hostname":"07d008ff8a4b","pid":16,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"osr","msg":"load docs completed","time":"2018-03-07T05:10:42.902Z","v":0}
{"name":"persister:mt","hostname":"07d008ff8a4b","pid":16,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":100,"nLoaded":100,"dbName":"mt","msg":"load docs completed","time":"2018-03-07T05:10:42.906Z","v":0}
{"name":"persister:trades","hostname":"07d008ff8a4b","pid":16,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":10000,"nLoaded":0,"dbName":"trades","msg":"load docs completed","time":"2018-03-07T05:10:42.906Z","v":0}
{"name":"persister:msg","hostname":"07d008ff8a4b","pid":16,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":14,"dbName":"msg","msg":"load docs completed","time":"2018-03-07T05:10:42.907Z","v":0}
{"name":"persister:rfv","hostname":"07d008ff8a4b","pid":16,"level":30,"selector":{"exchange":5,"pair":{"base":1,"quote":0}},"limit":50,"nLoaded":0,"dbName":"rfv","msg":"load docs completed","time":"2018-03-07T05:10:42.907Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"CoinbaseApiKey = asdf","time":"2018-03-07T05:10:42.908Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"CoinbaseSecret = asdf","time":"2018-03-07T05:10:42.908Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"CoinbasePassphrase = asdf","time":"2018-03-07T05:10:42.908Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2018-03-07T05:10:42.908Z","v":0}
starting coinbase public client, apiURI =  https://api.gdax.com
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"CoinbaseWebsocketUrl = wss://ws-feed.gdax.com","time":"2018-03-07T05:10:43.095Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"CoinbaseRestUrl = https://api.gdax.com","time":"2018-03-07T05:10:43.095Z","v":0}
{"name":"tribeca:gateway:coinbase-api","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Starting connect","time":"2018-03-07T05:10:43.095Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"CoinbaseOrderDestination = Coinbase","time":"2018-03-07T05:10:43.098Z","v":0}
{"name":"tribeca:config","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"TRIBECA_MODE = prod","time":"2018-03-07T05:10:43.102Z","v":0}
{"name":"tribeca:main","hostname":"07d008ff8a4b","pid":16,"level":30,"pair":"BTC/USD","minTick":0.01,"hasSelfTradePrevention":true,"msg":"using the following exchange details","time":"2018-03-07T05:10:43.105Z","v":0}
{"name":"tribeca:qpr","hostname":"07d008ff8a4b","pid":16,"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":"2018-03-07T05:10:43.107Z","v":0}
{"name":"tribeca:active","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Starting saved quoting state:  false","time":"2018-03-07T05:10:43.108Z","v":0}
{"name":"ewma","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Unable to compute EMWA value","time":"2018-03-07T05:10:43.110Z","v":0}
{"name":"mt:broker","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"loaded 100 market trades","time":"2018-03-07T05:10:43.115Z","v":0}
{"name":"tribeca:gateway:coinbase-api","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"statechange:  { old: 'closed', new: 'open' }","time":"2018-03-07T05:10:43.284Z","v":0}
{"name":"tribeca:gateway:coinbase-api","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"statechange:  { old: 'open', new: 'syncing' }","time":"2018-03-07T05:10:43.286Z","v":0}
{"name":"tribeca:gateway:coinbase-api","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"statechange:  { old: 'syncing', new: 'processing' }","time":"2018-03-07T05:10:45.144Z","v":0}
{"name":"ex:broker","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Connection status changed :: Disconnected :: (md: Disconnected) (oe: Connected)","time":"2018-03-07T05:10:45.144Z","v":0}
{"name":"ex:broker","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Connection status changed :: Connected :: (md: Connected) (oe: Connected)","time":"2018-03-07T05:10:45.427Z","v":0}
{"name":"quotingengine","hostname":"07d008ff8a4b","pid":16,"level":40,"msg":"cannot compute a quote since no position report exists!","time":"2018-03-07T05:10:45.438Z","v":0}
{"name":"tribeca:main","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Event looped blocked for 403.969ms","time":"2018-03-07T05:10:45.439Z","v":0}
{"name":"quotingengine","hostname":"07d008ff8a4b","pid":16,"level":40,"msg":"cannot compute a quote since no position report exists!","time":"2018-03-07T05:10:45.440Z","v":0}
{"name":"positionmanager","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"recalculated target base position: 3","time":"2018-03-07T05:10:50.751Z","v":0}
{"name":"tribeca:main","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"Event looped blocked for 72.881ms","time":"2018-03-07T05:11:00.024Z","v":0}
{"name":"ewma","hostname":"07d008ff8a4b","pid":16,"level":30,"msg":"New EMWA value 10789.99","time":"2018-03-07T05:11:43.114Z","v":0}

The web page just says:

This page isn’t working
localhost didn’t send any data.
ERR_EMPTY_RESPONSE
@rclai
Copy link
Author

rclai commented Mar 7, 2018

I ended up just manually installing and it worked, but this should probably get looked at.

In addition, the latest Typescript version, v2.7.2 at the time of this writing, has breaking changes that will cause the grunt compile step to fail. Simply pin typescript to version 2.4.1 in package.json by removing the ^ prefix (and make sure to npm install or yarn afterwards) so that grunt will use exactly that version and compile successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant