Skip to content

How do we access indicator values after a backtest? #335

Answered by cjdsellers
crazy25000 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there,

The platform makes no assumptions as to how an indicator may be used. However to support indicator based trading the platform provides:

  • An Indicator base class along with reference implementations for common indicators.
  • Some convenience methods for registering an indicator with a TradingStrategy to receive various market data types.
register_indicator_for_quote_ticks(self, InstrumentId instrument_id, Indicator indicator)
register_indicator_for_trade_ticks(self, InstrumentId instrument_id, Indicator indicator)
register_indicator_for_bars(self, BarType bar_type, Indicator indicator)

Beyond this, the usage of the indicator is left to the individual user. Some users may construct…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@crazy25000
Comment options

Answer selected by cjdsellers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants