From what I understand the code is run on every bar when you do a backtest, so on daily it would cause the code to be run once a day in the past. How does the paper trading simulator handle the code? Does it run once a minute?
For example if my code consists of buying 100 shares if the 20SMA is > 100SMA, will it buy 100 shares every minute?
And this question leads me to one more. How are time scales established for SMAs? In backtest it uses daily or minute according to how you run the backtest. What about paper/live trading?
Thanks!