groupeduniverse#
API documentation for tradingstrategy.utils.groupeduniverse Python module in Trading Strategy.
Module description#
Creation of per-trading pair Pandas dataframes.
Base classes for handling OHLCV data for price and liquidity
Group raw multipair
pandas.DataFrame
to grouped format, so that reading and indexing individual trading pair data is easy in multipair trading universe
See also
Classes#
A base class for manipulating columnar price/liquidity data by a pair. |
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 a single trading pair. |
|
Downsample or upsample OHLCV candles or liquidity samples. |
|
Resample a DataFrame to a lower frequency. |
|
Resample a price series to a lower frequency. |
|
Resample OHLCV feed using a rolling window technique. |
|
Downsample or upsample liquidity series. |