mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-25 13:10:33 +08:00
Testing related adjustments
This commit is contained in:
@@ -69,3 +69,9 @@ class BitfinexTestCase(BaseExchangeTestCase):
|
||||
log.info('testing exchange balances')
|
||||
balances = self.exchange.get_balances()
|
||||
pass
|
||||
|
||||
def test_orderbook(self):
|
||||
log.info('testing order book for bitfinex')
|
||||
asset = self.exchange.get_asset('eth_btc')
|
||||
orderbook = self.exchange.get_orderbook(asset)
|
||||
pass
|
||||
|
||||
@@ -14,7 +14,7 @@ class ExchangeBundleTestCase:
|
||||
|
||||
# start = pd.to_datetime('2017-09-01', utc=True)
|
||||
start = pd.to_datetime('2017-1-1', utc=True)
|
||||
end = pd.to_datetime('2017-6-30', utc=True)
|
||||
end = pd.to_datetime('2017-9-30', utc=True)
|
||||
|
||||
exchange_bundle = ExchangeBundle(get_exchange(exchange_name))
|
||||
|
||||
|
||||
@@ -84,7 +84,8 @@ class PoloniexTestCase(BaseExchangeTestCase):
|
||||
pass
|
||||
|
||||
def test_orderbook(self):
|
||||
log.info('testing order book for bittrex')
|
||||
log.info('testing order book for poloniex')
|
||||
asset = self.exchange.get_asset('eth_btc')
|
||||
|
||||
orderbook = self.exchange.get_orderbook(asset)
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user