見出し画像

サクソバンク証券のAPIメモ (執筆中)

Simulation Account作成

>In order to request the LIVE application you must have created at least one SIM application, which should be used for testing your OpenAPI integration.

まず、sim appを作る必要があるらしい。simulation accountを作った。

Simulation App作成

simulation accountにログインしてからsim appを作った。Grant Typeを指定する必要があるらしい。Code, PKCE, Implicitから選ぶ。多分OAuthの種類。

>If you just want to get started quickly, you can use the "OpenAPI token" feature on the developer portal to get an access token for your account on our simulation system. Each token is valid for 24 hours and saves you from having to implement a full authentication flow.

sim環境だとかんたんにアクセストークンを手に入れられるらしい。だから、これを使う限りはGrant Typeは何でも良いかも。

Simulation Appでデータ取得してみる

TODO

Simulation Appで発注してみる

TODO

Live App

TODO

OpenAPI料金

>②手数料:特になし

>FX、商品CFD、株価指数CFD、個別株CFD、外国株式等

Internet Archiveで確認したら以前は手数料無料ではなかったみたいです。