Krypto-trading-bot: Bitmex websocket API update

Created on 5 Sep 2020  路  3Comments  路  Source: ctubio/Krypto-trading-bot

Recently, I found out that the bot keeps sending repeated (and infinite) orders for bitmex,

and I guess the reason is due to bitmex's websocket API update on Aug 24.

Any idea on this?

source: https://blog.bitmex.com/api_announcement/change-to-updates-on-the-order-feed-for-new-and-triggered-orders/


Order of messages on the order Websocket API feed for new order requests before this change (2 messages are sent):

  • ordStatus=New, workingIndicator=0b

  • ordStatus=New | Filled | PartiallyFilled | Canceled | Rejected, workingIndicator=1b | 0b

Order of messages on the order Websocket API feed for new orders after this change (1 message is sent):

  • ordStatus=New | Filled | PartiallyFilled | Canceled | Rejected, workingIndicator=1b | 0b

Order of messages on the order Websocket API feed for triggered orders before this change (2 messages are sent):

  • ordStatus=New, workingIndicator=0b, triggered=StopOrderTriggered

  • ordStatus=New | Filled | PartiallyFilled | Canceled | Rejected, workingIndicator=1b | 0b, triggered=StopOrderTriggered

Order of messages on the order Websocket API feed for triggered orders after this change (1 message is sent):

  • ordStatus=New | Filled | PartiallyFilled | Canceled | Rejected, workingIndicator=1b | 0b, triggered=StopOrderTriggered
acknowledged bug

All 3 comments

you are totally right; sorry for taking me so long

commenting so I can follow the discussion (turned off my bot when this started happening).

So glad @ctubio is back!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rscott7 picture rscott7  路  4Comments

Camille92 picture Camille92  路  6Comments

mattygug picture mattygug  路  6Comments

donaldforest picture donaldforest  路  5Comments

CarlitoGrey picture CarlitoGrey  路  7Comments