CurrencyConversion#
API documentation for tradingstrategy.direct_feed.conversion.CurrencyConversion Python class in Trading Strategy framework.
- class CurrencyConversion[source]#
Bases:
Enum
How prices in the OHLCV output are handled.
- __init__(*args, **kwds)#
Attributes
Everything is converted to US dollars
Everything is kept in its native crypto token.
- us_dollar = 'us_dollar'#
Everything is converted to US dollars
- crypto_quote_token = 'quote_token'#
Everything is kept in its native crypto token.
Nothing is done for the prices