XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
Hi, how do you detect when an order can be cancelled or not?
I have a case with Bitfinex, where the status after been normalized is PARTIALLY_FILLED, but in the response that comes from Bitfinex, the "isLive" attribute is false, meaning that it is a terminal status. So far what I see is that in Bitfinex there is that "isLive" attribute, and in Bittrex for instance there is "isOpen", but this attributes are not propagated into the normalized order.
Do you think it would make sense to add an "isLive" attribute in the Order? or does anybody have an alternative to know if an order can be cancelled or has an ending status?
Hi, how do you detect when an order can be cancelled or not?
I have a case with Bitfinex, where the status after been normalized is PARTIALLY_FILLED, but in the response that comes from Bitfinex, the "isLive" attribute is false, meaning that it is a terminal status. So far what I see is that in Bitfinex there is that "isLive" attribute, and in Bittrex for instance there is "isOpen", but this attributes are not propagated into the normalized order.
Do you think it would make sense to add an "isLive" attribute in the Order? or does anybody have an alternative to know if an order can be cancelled or has an ending status?
Thanks.