@export_as_api
@ExecutionContext.enforce_phase(EXECUTION_PHASE.BEFORE_TRADING, EXECUTION_PHASE.HANDLE_BAR, EXECUTION_PHASE.SCHEDULED)
def get_order(order_id):
 return get_simu_exchange().get_order(order_id)

@ export_as_api @ ExecutionContext . enforce_phase ( EXECUTION_PHASE . BEFORE_TRADING , EXECUTION_PHASE . HANDLE_BAR , EXECUTION_PHASE . SCHEDULED ) def get_order ( order_id ) : return get_simu_exchange ( ) . get_order ( order_id )
get a specified order by the unique order_id .