예제 #1
0
파일: testcpult.py 프로젝트: laisee/hokonui
 def test_bid_lt_ask(cls):
     ''' Method for testing bid price < ask price '''
     bid = cplt.get_current_bid(base.CCY_DEFAULT)
     ask = cplt.get_current_ask(base.CCY_DEFAULT)
     ok_(bid < ask, "bid should be < ask")
예제 #2
0
파일: testcpult.py 프로젝트: laisee/hokonui
 def test_bid(cls):
     ''' Method for testing bid price '''
     ok_(cplt.get_current_bid(base.CCY_DEFAULT) > 0.00)
예제 #3
0
파일: testcpult.py 프로젝트: laisee/hokonui
 def test_ask(cls):
     ''' Method for testing ask price '''
     ok_(cplt.get_current_ask(base.CCY_DEFAULT) > 0.00)
예제 #4
0
파일: testcpult.py 프로젝트: laisee/hokonui
 def test_price(cls):
     ''' Method for testing last price '''
     ok_(cplt.get_current_price(base.CCY_DEFAULT) > 0.00)