Skip to content

Custom/intermediate data (ctx.session?) in backtest result #135

Answered by edtechre
SW4T400 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @SW4T400,

PyBroker does not have an option for outputting session data. I think the approach in 1) is the best way to achieve this. I would recommend doing this by appending to a list of tuples, and then creating the DataFrame afterwards:

df = pd.DataFrame(pybroker.param('data'), columns=columns)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SW4T400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants