Last active
November 11, 2017 09:35
-
-
Save Akira-Taniguchi/b5d0f531a6d2d7edcc0429e2d133783d to your computer and use it in GitHub Desktop.
[Zaif]Pythonで簡単に仮想通貨の取引が出来るようにしてみた ref: http://qiita.com/Akira-Taniguchi/items/e52930c881adc6ecfe07
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zaifapi.impl import ZaifPublicApi, ZaifPrivateApi | |
#ビットコインと日本円の終値を取得 | |
zaif = ZaifPublicApi() | |
print(zaif.last_price('btc_jpy')) | |
#残高などのアカウント情報を取得 | |
zaif = ZaifTradeApi(key, secret) | |
print(zaif.get_info()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment