[TECH TUT] Updating a old exchange integration to Gekko 0.6+
#4
@askmike thanks for the info, the gekko-broker helped me a lot.

I just have one quick question to see if you could help me, the exchange I'm working with there API calls are kind of slow, specially when the bot cancels a order and instantly starts a new one, I get a lot of the error "insufficientFunds" (I copied most of the code from binance.js). I'm currently using the retry library it kind of works, but a some point it fails after many attempts..

Is there a way to tell a the bot that when it cancels a order to wait about 1.5 second before starting the next order?

Thanks

EDIT: I think I just found it, on exchangeUtils.js I found under errors err.backoffDelay, but that helps once it fails, how can i apply as soon the cancel is done
  Reply


Messages In This Thread
RE: [TECH TUT] Updating a old exchange integration to Gekko 0.6+ - by algunnombre - 12-30-2018, 04:38 PM

Forum Jump:


Users browsing this thread: