Hello developers!
I need the answer to the following question:
How many different status codes can a market order return?
Also, how many different status codes can a limit order return?
Here are the different type of order status:
# ORDER_STATUS_NEW = ‘NEW’
# ORDER_STATUS_PARTIALLY_FILLED = ‘PARTIALLY_FILLED’
# ORDER_STATUS_FILLED = ‘FILLED’
# ORDER_STATUS_CANCELED = ‘CANCELED’
# ORDER_STATUS_PENDING_CANCEL = ‘PENDING_CANCEL’
# ORDER_STATUS_REJECTED = ‘REJECTED’
# ORDER_STATUS_EXPIRED = ‘EXPIRED’
One last question: If I cancel the price order for an OCO order, does the entire order become cancelled?
Thank you very much!