michaelgrosner / tribeca

A high frequency, market making cryptocurrency trading platform in node.js
Other
4.01k stars 948 forks source link

Disconnected from exchange #255

Open prabhakaran101 opened 2 years ago

prabhakaran101 commented 2 years ago

Hi,

I have setup all the configurations as like you mentioned and its running right now. But when i setup API key with updated API URL's its showing the error message like "Disconnected from exchange" and then automatically changed to "Null"

I think i was not using the right API URL or something... Herewith i have attached you the screenshot and Configuration URL too. Please look on this

Looking forward to hear from your end.

{ "TRIBECA_MODE": "dev", "EXCHANGE": "OkCoin", "TradedPair": "BTC/USD", "MongoDbUrl": "mongodb://localhost:27017/tribeca", "WebClientUsername": "NULL", "WebClientPassword": "NULL", "WebClientListenPort": "3000", "ShowAllOrders": "true",

"HitBtcPullUrl": "https://api.hitbtc.com/api/3",
"HitBtcOrderEntryUrl": "wss://api.hitbtc.com/api/3/ws/trading",
"HitBtcMarketDataUrl": "wss://api.hitbtc.com/api/3/ws/public",
"HitBtcSocketIoUrl": "https://api.hitbtc.com/api/3",
"HitBtcApiKey": "xxxxx",
"HitBtcSecret": "xxxxx",
"HitBtcOrderDestination": "HitBtc",

"CoinbaseRestUrl": "https://api-public.sandbox.exchange.coinbase.com",
"CoinbaseWebsocketUrl": "wss://ws-feed-public.sandbox.exchange.coinbase.com",
"CoinbasePassphrase": "NULL",
"CoinbaseApiKey": "yyyy",
"CoinbaseSecret": "yyyyy",
"CoinbaseOrderDestination": "Coinbase",

"OkCoinWsUrl": "wss://real.okcoin.com:8443/ws/v3",
"OkCoinHttpUrl": "https://www.okcoin.com/api",
"OkCoinApiKey": "xxxxxxx",
"OkCoinSecretKey": "uuuuuuuuuuuu",
"OkCoinOrderDestination": "OkCoin",

"BitfinexHttpUrl": "https://api-pub.bitfinex.com/v2",
"BitfinexKey": "aaaaaaaaaaaaaaaa",
"BitfinexSecret": "bbbbbbbbbbbbbbbbb",
"BitfinexOrderDestination": "Bitfinex"

} Screenshot (1)

Thank you.