vnpy/beta/api/korbit/korbit-python-master/tests/test.py

13 lines
267 B
Python
Raw Normal View History

2017-12-15 13:10:38 +00:00
import unittest
import korbit
class TestKorbit(unittest.TestCase):
def setUp(self):
pass
def test_ticker(self):
ticker = korbit.ticker()
self.assertTrue('last' in ticker.keys())
self.assertTrue('timestamp' in ticker.keys())