hootnot / saxo_openapi

The saxo_openapi package provides easy access to SAXO Bank OpenAPI (https://www.developer.saxo/openapi/learn). Checkout the Jupyter notebooks covering most aspects of the API.
MIT License
92 stars 33 forks source link

OAuth2 support #6

Open hootnot opened 5 years ago

hootnot commented 5 years ago

OAuth2 support is planned to be released soon (end August early Sept)

vinutshetty commented 3 years ago

Hi, Thank you for this project and it is super helpful. May I know if OAuth is already supported? AFAIK that's the only auth method for Live trading with Saxo. I couldn't really find that authentication method in the code. Thank you.

hootnot commented 3 years ago

I had it running with a setup in Docker. A stable setup was my conclusion after months of uptime. My setup was on a test account. I didn't publish the code yet. Let me have a look at it and come back to you.

... it looks like my testaccount(s) expired

So, you have a live account available ?

fuglede commented 3 years ago

FWIW, for the (few) endpoints I've tried, the "live" environment has worked fine as well; I found these Python examples useful for getting started, as they provide minimal examples on how to get the API access token through OAuth 2.0 (which, as long as you're using the API for personal use, is really all you need).