Skip to content

Instantly share code, notes, and snippets.

@Akira-Taniguchi
Last active November 11, 2017 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Akira-Taniguchi/b5d0f531a6d2d7edcc0429e2d133783d to your computer and use it in GitHub Desktop.
Save Akira-Taniguchi/b5d0f531a6d2d7edcc0429e2d133783d to your computer and use it in GitHub Desktop.
[Zaif]Pythonで簡単に仮想通貨の取引が出来るようにしてみた ref: http://qiita.com/Akira-Taniguchi/items/e52930c881adc6ecfe07
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