Skip to content

Instantly share code, notes, and snippets.

@koheso
Created January 20, 2018 06:47
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 koheso/eb8e157ec728148066c1bb0ecdeac88b to your computer and use it in GitHub Desktop.
Save koheso/eb8e157ec728148066c1bb0ecdeac88b to your computer and use it in GitHub Desktop.
bitbankで資産情報の取得
# -*- coding: utf-8 -*-
import python_bitbankcc
API_KEY = 'APIキー'
API_SECRET = 'Secretキー'
prv = python_bitbankcc.private(API_KEY, API_SECRET)
balances = prv.get_asset()
for data in balances['assets']:
print('●通貨:' + data['asset'])
print('保有量:' + data['onhand_amount'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment