lvxhnat / ion

A fully integrated platform for aggregating, visualising and analysing alternative data
GNU General Public License v3.0
12 stars 1 forks source link

[question] oanda data #119

Closed dawadam closed 12 months ago

dawadam commented 1 year ago

Hi, Thank you for sharing. Is it possible to use oanda data recovery separately?

lvxhnat commented 12 months ago

Hi @dawadam . Can you elaborate more on what you mean by data recovery? If you mean by interfacing with Oanda's API separately as a module, there are many out of the box packages written in Python, like https://oanda-api-v20.readthedocs.io/en/latest/installation.html. Hope this helps

dawadam commented 12 months ago

Thanks, Yes, I want to retrieve price history with Oanda. Only, I'm trying to do it in NodeJS and the available modules seem incomplete or obsolete. I can't find anything viable in TypeScript.

lvxhnat commented 12 months ago

@dawadam I see. Unfortunately I dont have the implementations in typescript for Oanda. The Oanda connectors in this package is written in python, hosted on the Python backend. The frontend then calls endpoints on the backend which executes this code.

You might have to write your own functions in typescript to call Oanda based on the endpoints in the documentation https://developer.oanda.com/rest-live-v20/account-ep/ for that.