vnpy/beta/api/coincheck/test4.py
2018-05-07 19:25:06 +02:00

19 lines
282 B
Python

# encoding: utf-8
from __future__ import absolute_import
from .vncoincheck import *
def test():
api = DataApiSocket()
api.connect("wss://ws-api.coincheck.com")
sleep(2)
api.sendOrderbookRequest()
api.sendTradesRequest()
raw_input()
if __name__ == '__main__':
test()