Updating out of sync market time

Oscar!!!

TX dust collector
Hi,
I've been unable to get the bot to work properly for sometime now.

Been trying different setups and exchanges. I got Binance to work, but only for sell signals, buy signals didn't work. (can't remember what the error in the logs was)

I've now setup the bot to use bittrex in combination with Tradingview alerts using webhooks. The webhooks are received without a problem. I do see the following error messages in the logs and no buy/sell order are being placed.

error: Error updating balances for realtime exchange Bittrex {"txt":"Invalid API response","err":{"success":false,"message":"INVALID_SIGNATURE","result":null},"permanent":true}


and

warn: Updating out of sync market time (market behind) in RealTimeTrader. old value: 2020-09-11 06:27:03

It's 2 hours behind.

How do i fix this or can this be ignored?


Small update,
I've removed all the configs i created and started fresh. There is no balance update error anymore, but this is what happens when a buy or sell order comes in. Invalid order type? haven't read anything on where to change that...the same alert / sell order from Tradingview alert sold without a problem on binance...

2020-09-11 09:21:04 - info: Received Webhook API signal: sell BTC_TRX | [removed my id]
2020-09-11 09:21:05 - warn: Updating out of sync market time (market behind) in RealTimeTrader. old value: 2020-09-11 07:21:04
2020-09-11 09:21:05 - error: Error on SELL BTC_TRX (rate 0.0000031684150000000002, amount 5514.00291974) in RealTimeTrader {"txt":"Invalid API response","err":{"success":false,"message":"ORDER_TYPE_INVALID","result":null,"explanation":null},"permanent":true}
 
Last edited:

Ekliptor

Administrator
Staff member
warn: Updating out of sync market time (market behind) in RealTimeTrader. old value: 2020-09-11 06:27:03
You can ignore it. However this might mean either your system time is wrong or there are no trades on the Binance market for 2 hours (which seems long even for smaller coin pairs)

2020-09-11 09:21:05 - error: Error on SELL BTC_TRX (rate 0.0000031684150000000002, amount 5514.00291974) in RealTimeTrader {"txt":"Invalid API response","err":{"success":false,"message":"ORDER_TYPE_INVALID","result":null,"explanation":null},"permanent":true}
Can you post your config JSON? Please make sure marginTrading is set to "false"