@rajukumarpu9 .Use websocket for marketdata even if you can make 250 GET calls in a second you would get the same data since prior until there is an update in tick.Any API provider will be having very strict policy on GET calls ... Webscoket connection is your only choice and i would recommend you to code for Round r0bin making sure that you can close you calculations less than 150-200 milliseconds. *Avoid globals, *Use light weigh DB (Sqllite3) *keep API calls in threads, *list comprehension
The historical data API is provided only for backtesting purposes. We don't recommend using the same for live market strategies. For live market strategies, you may construct your own candles as discussed here.
Hi @ZI4453 , thanks for the information. I'm not making 250 GET calls for one scrip. making one call for one scrip , 250 calls for 250 individual scrips.
@rajkumarpu9 , are you looking candle data for analysis or you are trying to build a platoform for yourself, Becasue building candle involves totally a different topic.. this API can only provide data , any other post processing we have to take care of ourselves
@ZI4453 , First I need candle data in real-time and then post processing will take care of myself. Please do let me know if you have any idea like how fast we can build candle from tick data. Please share your idea . Pls share your whatsapps number , mine is +65-86474369.
@rajkumarpu9, I am puzzled to know why candle data is required when you hava "data" which can be assigned to variable for post processing. lets say if candle shows 10->15->12->19..... it means a particular variable was assigned & these data and that variable simple showed it as graph for visual representation. Now-coming to your requirement, ideally any Algo will work based on signals generated() which requires tick data(which we already have ) ...... i am still not able to get to the point that why we are looking for candle data when have raw data in hand....
@ZI4453 my logic is depend on the candle data (OHLCV). I'm not sure how ticks data looks like, whether I can achieve it directly from tick data or not. Please share if you have ticks data sample.
even if you can make 250 GET calls in a second you would get the same data since prior until there is an update in tick.Any API provider will be having very strict policy on GET calls ...
Webscoket connection is your only choice and i would recommend you to code for Round r0bin making sure that you can close you calculations less than 150-200 milliseconds.
*Avoid globals,
*Use light weigh DB (Sqllite3)
*keep API calls in threads,
*list comprehension
The historical data API is provided only for backtesting purposes. We don't recommend using the same for live market strategies.
For live market strategies, you may construct your own candles as discussed here.
I'm not making 250 GET calls for one scrip. making one call for one scrip , 250 calls for 250 individual scrips.
Can you pls share some sample code for how to construct 1 min candle.
Pls share your whatsapps number , mine is +65-86474369.
thanks
I am puzzled to know why candle data is required when you hava "data" which can be assigned to variable for post processing.
lets say if candle shows 10->15->12->19..... it means a particular variable was assigned & these data and that variable simple showed it as graph for visual representation.
Now-coming to your requirement, ideally any Algo will work based on signals generated() which requires tick data(which we already have ) ......
i am still not able to get to the point that why we are looking for candle data when have raw data in hand....
my logic is depend on the candle data (OHLCV). I'm not sure how ticks data looks like, whether I can achieve it directly from tick data or not. Please share if you have ticks data sample.
@rajukumarpu9