qstrader#

API documentation for tradingstrategy.frameworks.qstrader Python module in Trading Strategy.

Module description#

“Qstrader integration (legacy).

Warning

Deprecated. Do not use anymore. Use trade-executor framework instead.

Classes#

DEXAsset

TradingStrategyDataSource

QSTrader daily price integration for Capitalgram dataframe object.

Functions#

analyse_portfolio_development(events)

Build algorithm performance analyzers from QSTrader backtesting events.

analyse_trade_history(events)

Build algorithm performance analyzers from QSTrader backtesting events.

create_portfolio_snapshot(state_details)

Convert QSTrader internal debug_details trace to a portfolio snapshot.

prepare_candles_for_qstrader(candles)

Prepare DataFrame format so that QSTrader strategy can read it.