Reference Data¶
Currencies¶
base_currency¶
The base currency. Potentially the base currency of underlying symbol if symbol is a derivative, e.g. a future.
This typically refers to “what you buy or sell”.
quote_currency¶
The quote currency.
This typically refers to “what you have to pay when you buy or sell”.
settlement_currency¶
For linear products, same as quote_currency.
For inverse products, same as base_currency.
This is typically used for P&L calculations.
commission_currency¶
The commission currency. Potentially the currency used for the “fee”.
This field is optional and, when available, may only be indicative for the fee currency.
There are reasons why this could be different, e.g. what margin account is being used, bi-laterally agreed currency, etc.
This is the reason why you will find the commission_currency field on roq::Fill (used by roq::TradeUpdate).