Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Volume data seems incorrect when comparing against Yahoo Finance charts?

Hello,

I am new to the platform and was testing a strategy that depend on the traded volume and noticed that the volume data is very different from the ones displayed in Yahoo finance stock charts

Test Date Range: from 03/12/2018 to 03/13/2018
Stocks: AMZN and ADBE
Time Interval: 1m in both the backtest and Yahoo Stock Chart

I attached the backtest. In the logs, you will be able to see a log indicating the price and the volume whenever a buy order is set.
Just by comparing the time and volume between the backtest data and Yahoo finance you will be able to see the discrepancy.

Any clue why the volume data differs?