vnpy/beta/api/coincheck/test4.py

19 lines
282 B
Python
Raw Normal View History

# encoding: utf-8
2018-05-07 17:25:06 +00:00
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()