Hi @300407 ,
Try using this
from upstox_api.api import *
everything is in small case.
Hi @mkamthe ,
We provided the historical data through REST calls check here for the documentation
We have some restriction on the time range of different intervals for which you can fetch the data which are shown below:
1_MINUTE : Current_Day - 1 month
3_MINUTE : Current_Day - 1 month
5_MINUTE : Current_Day - 4 month
10_MINUTE : Current_Day - 6 month
15_MINUTE : Current_Day - 3 month
30_MINUTE : Current_Day - 8 month
60_MINUTE : Current_Day - 8 month
1_DAY : Since 2005
1_WEEK : Since 2005
1_MONTH : Since 2005
Hi @suvoge ,
It's just around the corner, we are soon going to release it.
Hi @arkochhar ,
We are giving you historical data up to 2 minutes back from the present time.
For example, if the present time is 10:40 AM you will get candle up to 10:38 AM.
I know there is a missing candle of 10:39, but this is how our current process is designed.
If there is some delay more than this than surely the issue is from our side (sometimes the DB gets too cranked up to accept an insertion from our side).
There is no workaround around this if you are using our historical API.
You can always try using our interactive API for getting live feeds.
Hi @Guest ,
Try to use this:
where the parameter is order_id.
Hi @ganesh ,
Try reconnecting multiple times at different intervals. The issue because of which disconnection happens can happen during reconnection also because it happens without any time gap.
Hi @Sunil ,
Subscribe any instrument for full feed and get the last 5 bid/asks via socket.
Check this section for other details:
Looks like your connection to Upstox Forum was lost, please wait while we try to reconnect.