order_history() returns array of values: 1) Is value = order state ? 2) Is it Ordered array ? 3) Does that mean last value in array is latest order state ?
If yes, does than mean ONLY LAST VALUE IN ARRAY IS SUFFICIENT to check if order is partially filled, opened, completed, rejected, etc and we can ignore first (n - 1) values to check for latest state like filled quantities, pending quantities, average traded price, etc
Please help me in interpreting output of order_history !
@sujith Does that mean if I place order for 100 quantities and they get executed in 3 phases like 50 buys, 20 buys and 10 buys then my LAST ORDER STATE(last value in array) will have filled_quantity = 80 or will it be filled_quantity = 10 ?
Does that mean if I place order for 100 quantities and they get executed in 3 phases like 50 buys, 20 buys and 10 buys then my LAST ORDER STATE(last value in array) will have filled_quantity = 80 or will it be filled_quantity = 10 ?