qstrader#

tradingstrategy.frameworks.qstrader module.

Module description#

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.