vnpy/beta/api/coincheck/test2.py

7 lines
221 B
Python
Raw Normal View History

# encoding: utf-8
2018-05-07 17:25:06 +00:00
from __future__ import print_function
from coincheck import order,market,account
ok = order.Order(access_key="你的accessKey", secret_key="你的secretKey")
2018-05-07 17:25:06 +00:00
print(ok.buy_btc_jpy(amount=0.01,rate=200))