Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Change spot value in bar data

Dear Quantopian community,

Is there a way to moldify the spot value of one of the portfolio's asset while running a backtest either in before_start_trading or handle_data ?

Thanks for your help
Younes