0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Oanda API with curl

Last updated at Posted at 2020-05-24

アカウント情報の取得

curl -H "Authorization: Bearer ...access token..." https://api-fxtrade.oanda.com/v3/accounts

  • api-fxtradeは本番アカウント用、api-fxpracticeはデモアカウント用です。
  • 本番アカウントのtokenはpracticeでは使用できませんpracticeで本番用のtokenを使うと下記のようなエラーになります

{"errorMessage":"Insufficient authorization to perform request."}

参考 https://stackoverflow.com/questions/41443556/sending-an-order-to-oanda

to be continued

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?