pair#
tradingstrategy.pair Python module in Trading Strategy framework.
Module description#
Trading pair information and pair datasets.
The core classes to understand the data are
To download the pairs dataset see
Classes#
Trading pair information for a single pair. |
|
The queries universe, as returned by the server. |
|
A pair universe implementation that is created from Pandas dataset. |
|
How to filter pairs in stablecoin filtering. |
Functions#
|
Filter dataset so that it only contains data for the trading pairs from a certain exchange. |
|
Filter dataset so that it only contains data for the trading pairs that have a certain quote tokens. |
|
Filter dataset so that it only contains data for the trading pairs that are either stablecoin pairs or not. |
Add base_token_address, quote_token_address columns. |
|
|
Resolve symbolic trading pairs to their internal integer primary key ids. |