Idirect-Tech / Breeze-CSharp-SDK

The official C# client library for the ICICI Securities trading APIs
MIT License
1 stars 4 forks source link

Not getting historical data from api #3

Open arif-b-khan opened 1 year ago

arif-b-khan commented 1 year ago

I'm not getting historical data from breeze api. Following is the code snippet image

I'm getting "Unauthorized Use" image

ShrikantOneture commented 1 year ago

@vrashab-oneture is the payload correct?

vrashab-oneture commented 1 year ago

This issue has nothing to do with the payload. Please check if the session token and api key are valid. Just to add from date should be less than the to date

ShrikantOneture commented 1 year ago

@arif-b-khan please check above mentioned details, also which version of dotnet u are using.

ShrikantOneture commented 1 year ago

@arif-b-khan u should use generateSessionAsPerVersion(), please use prelease branch

arif-b-khan commented 11 months ago

I've already raised PR please check. I'm based in Singapore I'm accessing the api from outside India. Issue is with TimeZone.