Hello! I am trying to use the REST API to get info on orders. The API reference states that a potential output is expire_time
“at which order expires.” I assume that this is for GTT limit orders where you can specify the cancel_after
as a min, hour, and day, and then expire_time
translate that to a timestamp.
To test this, I created a day-long order to sell at some random price well above the current “ask” on the sandbox. When getting the order in the REST API, the following is returned (censoring the UUIDs):
id ########-####-####-####-############
client_oid ########-####-####-####-############
price 47300.00000000
size 0.00119000
product_id BTC-USD
profile_id ########-####-####-####-############
side sell
type limit
time_in_force GTT
post_only True
created_at 2022-04-02T01:23:23.329167Z
fill_fees 0.0000000000000000
filled_size 0.00000000
executed_value 0.0000000000000000
status open
settled False
Note that the time_in_force
is GTT, but expire_time
is not specified.
Is this a bug? Am I misunderstanding something?