View source: R/wrappers_get_trade.R
| get_trade_orders_history | R Documentation |
Retrieve completed orders from the last 7 days.
get_trade_orders_history(
inst_type,
inst_family = NULL,
inst_id = NULL,
ord_type = NULL,
state = NULL,
category = NULL,
after = NULL,
before = NULL,
begin = NULL,
end = NULL,
limit = NULL,
config,
tz = .okx_default_tz
)
inst_type |
Character. Instrument type. |
inst_family |
Character or 'NULL'. Instrument family filter. |
inst_id |
Character or 'NULL'. Instrument ID filter. |
ord_type |
Character or 'NULL'. Order type filter. |
state |
Character or 'NULL'. Order state filter. |
category |
Character or 'NULL'. Order category filter. |
after |
Character or 'NULL'. Pagination cursor for earlier records. |
before |
Character or 'NULL'. Pagination cursor for newer records. |
begin |
Character or 'NULL'. Begin timestamp in milliseconds. |
end |
Character or 'NULL'. End timestamp in milliseconds. |
limit |
Integer or 'NULL'. Number of results to request. |
config |
List. API credentials/config. |
tz |
Character. Time zone for parsing timestamps. |
A 'data.frame' with historical order rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.