I have a small confusion-
Please help me on this as I m little new to Automating trading
I cant understand one thing -
When i call historical data (be it of any interval), I get the data till that particular time. Suppose I assign it to a variable [spy= spy-OHLC for 5 min interval] and when I call spy, it will everythime give me same data. This is good for back testing.
But when I want to trade in live market where I would require some historical data to apply logic and than take it to live amrket for 'that same Interval' how do I do it?
Brokers' do provide WebSockets for live streaming data. But then it is simply TBT and not interval wise OHLC.
What is the solution for this
Thanks in advance
Please help me on this as I m little new to Automating trading
I cant understand one thing -
When i call historical data (be it of any interval), I get the data till that particular time. Suppose I assign it to a variable [spy= spy-OHLC for 5 min interval] and when I call spy, it will everythime give me same data. This is good for back testing.
But when I want to trade in live market where I would require some historical data to apply logic and than take it to live amrket for 'that same Interval' how do I do it?
Brokers' do provide WebSockets for live streaming data. But then it is simply TBT and not interval wise OHLC.
What is the solution for this
Thanks in advance