Krypto-trading-bot: HitBTC Filter cxl function by instance

Created on 9 Jan 2018  路  4Comments  路  Source: ctubio/Krypto-trading-bot

Hello
It would be possible that the cxl function (for my necessary by zombie orders), only cancel orders in the instances that is activated? In this way, you can continue creating orders manually in other pairs without being canceled.

Thank you

improvement acknowledged in the lab

Most helpful comment

ah sorry i understand your requirement now; need to add filter by currency pair to cancelAll in HitBTC; okok will do soOn

you are right, the current hitbtc cancelAll code does not uses symbol parameter

many thanks for insist on this''''

All 4 comments

cxl function cancels all orders; because it attempts to kill zombies

if you dont want your manual orders to be canceled, do not enable cxl

there is no way the bot can know if a manual order is really manual or zombie, since both were created without the bot consent.

to cancel alien orders, use cxl

to allow alien orders, dont use cxl

both manual and zombie are alien orders from the bot point of view

Simply that when CXL is active, the process of canceling open orders is only for the instance pair. In hitbtc, for example, you can send as a parameter the symbol to cancel https://api.hitbtc.com/#cancel-orders

Sometimes, I need to have an open order outside the bot and activated cxl is necessary.

Thank you very much for your response

ah sorry i understand your requirement now; need to add filter by currency pair to cancelAll in HitBTC; okok will do soOn

you are right, the current hitbtc cancelAll code does not uses symbol parameter

many thanks for insist on this''''

That's a must for HitBTC!
Really often i need to put some manual orders but they are cancelling by the bot.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Camille92 picture Camille92  路  8Comments

rscott7 picture rscott7  路  4Comments

MiningInMySleep picture MiningInMySleep  路  4Comments

donaldforest picture donaldforest  路  5Comments

Bzzz666 picture Bzzz666  路  8Comments