Skip to content

How to use an independant pandas.DataFrame as Strategy input #354

Answered by kernc
beyond2002 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, see for instance backtesting.lib.SignalStrategy. In your case, the signal would be self.data.df['signal_column'], which you would prepare in advance in the input OHLC data frame.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@beyond2002
Comment options

@beyond2002
Comment options

@kernc
Comment options

@beyond2002
Comment options

@AetherTL
Comment options

Answer selected by beyond2002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants