tensortrade.oms.instruments.exchange_pair module¶
-
class
tensortrade.oms.instruments.exchange_pair.ExchangePair(exchange: Exchange, pair: TradingPair)[source]¶ Bases:
objectA pair of financial instruments to be traded on a specific exchange.
- Parameters
exchange (Exchange) – An exchange that contains the pair for trading.
pair (TradingPair) – A trading pair available on the exchange.
-
property
price¶ The quoted price of the trading pair. (Decimal, read-only)