View source: R/wrappers_get_trade.R
| get_trade_fills_history | R Documentation |
Retrieve historical filled transaction details from the last 3 months.
get_trade_fills_history(
inst_type,
inst_family = NULL,
inst_id = NULL,
ord_id = NULL,
sub_type = NULL,
after = NULL,
before = NULL,
limit = NULL,
begin = NULL,
end = NULL,
config,
tz = .okx_default_tz
)
inst_type |
Character. Instrument type, e.g. '"SPOT"' or '"SWAP"'. |
inst_family |
Character or 'NULL'. Instrument family filter. |
inst_id |
Character or 'NULL'. Instrument ID filter. |
ord_id |
Character or 'NULL'. Order ID filter. |
sub_type |
Character or 'NULL'. Transaction subtype filter. |
after |
Character or 'NULL'. Pagination cursor for earlier records. |
before |
Character or 'NULL'. Pagination cursor for newer records. |
limit |
Integer or 'NULL'. Number of rows to request. |
begin |
Character or 'NULL'. Begin timestamp in milliseconds. |
end |
Character or 'NULL'. End timestamp in milliseconds. |
config |
List. API credentials/config. |
tz |
Character. Time zone for parsing timestamps. Default '"Asia/Hong_Kong"'. |
A 'data.frame' with historical fill rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.