Exemplo n.º 1
0
 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")
Exemplo n.º 2
0
 def test_bid(cls):
     ''' Method for testing bid price '''
     ok_(cplt.get_current_bid(base.CCY_DEFAULT) > 0.00)
Exemplo n.º 3
0
 def test_ask(cls):
     ''' Method for testing ask price '''
     ok_(cplt.get_current_ask(base.CCY_DEFAULT) > 0.00)
Exemplo n.º 4
0
 def test_price(cls):
     ''' Method for testing last price '''
     ok_(cplt.get_current_price(base.CCY_DEFAULT) > 0.00)