GMO社のFX API用Pythonライブラリ
Project description
gmo-fx-py
GMOが提供するFX用APIのSDKです。 GMOのAPIについてはこちらのリファレンスを参照してください。
インストール
pip install gmo-fx
使い方
各APIのエンドポイントの頭にgetをつけたメソッドを定義しています。 そのメソッドを実行することで、APIの呼び出しを行います。 ※例:「KLine情報の取得」APIの場合
from gmo_fx import KlinesApi, KlineInterval, Symbol
from datetime import datetime
response = KlinesApi()(
symbol=Symbol.USD_JPY,
price_type="BID",
interval=KlineInterval.M1, # 1分足
date=datetime.now(),
)
print(response.klines)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gmo_fx-0.11.0.tar.gz.
File metadata
- Download URL: gmo_fx-0.11.0.tar.gz
- Upload date:
- Size: 28.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3817f7e85e807fce41eb1475283366e998b160489ce62e0befadbea60166bcb5
|
|
| MD5 |
ac3976f8faca1e605923d9e72596b4e2
|
|
| BLAKE2b-256 |
6e3015946e1dbeadb03c824e37f06236ec187f2507a420709cf65fbf5bd032c9
|
Provenance
The following attestation bundles were made for gmo_fx-0.11.0.tar.gz:
Publisher:
publish_pypi.yaml on RikitoNoto/gmo-fx-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gmo_fx-0.11.0.tar.gz -
Subject digest:
3817f7e85e807fce41eb1475283366e998b160489ce62e0befadbea60166bcb5 - Sigstore transparency entry: 1437359132
- Sigstore integration time:
-
Permalink:
RikitoNoto/gmo-fx-py@bcec9d1312fc1cd65c92bbbc25b580ca601fadbf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RikitoNoto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yaml@bcec9d1312fc1cd65c92bbbc25b580ca601fadbf -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file gmo_fx-0.11.0-py3-none-any.whl.
File metadata
- Download URL: gmo_fx-0.11.0-py3-none-any.whl
- Upload date:
- Size: 53.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de65214c86f70a5878bb8bfe0e8cd8d92fc9e3126ee710e26f92f9380163273
|
|
| MD5 |
936a6c56f247afbf60bffa06d514e838
|
|
| BLAKE2b-256 |
7061d68fc1767aebdb3b29baba85c7615b3cbdc4d2a1d9ee01579b6c357730ee
|
Provenance
The following attestation bundles were made for gmo_fx-0.11.0-py3-none-any.whl:
Publisher:
publish_pypi.yaml on RikitoNoto/gmo-fx-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gmo_fx-0.11.0-py3-none-any.whl -
Subject digest:
2de65214c86f70a5878bb8bfe0e8cd8d92fc9e3126ee710e26f92f9380163273 - Sigstore transparency entry: 1437359137
- Sigstore integration time:
-
Permalink:
RikitoNoto/gmo-fx-py@bcec9d1312fc1cd65c92bbbc25b580ca601fadbf -
Branch / Tag:
refs/heads/main - Owner: https://github.com/RikitoNoto
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yaml@bcec9d1312fc1cd65c92bbbc25b580ca601fadbf -
Trigger Event:
workflow_dispatch
-
Statement type: