For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
TradeHistory status 1, but event.order.status is 4
-
In a test, TradeHistory's status.status shows value of 1, but event.order.status has value of 4.
What's the difference of the two status value?Hope the question is not too vague.
-
I try to answer myself. It seems first one is trade status, possible values are ['Created', 'Open', 'Closed']. Latter one is order status, possible values are ['Created', 'Submitted', 'Accepted', 'Partial', 'Completed', 'Canceled', 'Expired', 'Margin', 'Rejected'].
-
Trade
andOrder
are different things, where is the surprise?