Shoonya-Dev / ShoonyaApi-py

144 stars 133 forks source link

No response while getting historical data #109

Closed pushpen closed 5 months ago

pushpen commented 1 year ago

api.get_daily_price_series seems to be stuck. Not getting any response Please check.

ghostjat commented 1 year ago

same issue here returning empty array.

trivalent commented 1 year ago

Experiencing the same. The same request works with Curl and data is returned, but the API returns HTTP 502. DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.shoonya.com:443 DEBUG:urllib3.connectionpool:https://api.shoonya.com:443 "POST /NorenWClientTP//EODChartData HTTP/1.1" 502 None DEBUG:NorenRestApiPy.NorenApi:<Response [502]>

CURL Response:

curl https://api.shoonya.com/NorenWClientTP/EODChartData -d 'jData={"uid": "FAXXXXX", "sym": "NSE:BDL-EQ", "from": "0", "to": "1680866237"}' -d 'jKey=XXXXX' > bdloutput.txt % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 197k 100 197k 100 148 13389 9 0:00:16 0:00:15 0:00:01 44713

Shoonya-Dev commented 5 months ago

Greetings from Shoonya!

As we checked, its working fine. Please check your input parameters, or please check the attached input and output of the code:

image