Making some adjustments to the ingestion method after discussion with Victor

This commit is contained in:
fredfortier
2017-10-12 14:06:47 -04:00
parent 1a87d5a0c0
commit e1c2f40ab9
7 changed files with 64 additions and 43 deletions
+4
View File
@@ -47,6 +47,10 @@ class BitfinexTestCase(BaseExchangeTestCase):
def test_get_candles(self):
log.info('retrieving candles')
ohlcv_neo = self.exchange.get_candles(
data_frequency='1m',
assets=self.exchange.get_asset('neo_btc')
)
pass
def test_tickers(self):
+2 -2
View File
@@ -14,8 +14,8 @@ class ExchangeBundleTestCase:
exchange_name = 'bitfinex'
# start = pd.to_datetime('2017-09-01', utc=True)
end = pd.Timestamp.utcnow() - timedelta(minutes=5)
start = end - timedelta(minutes=30)
start = pd.to_datetime('2017-10-01', utc=True)
end = pd.to_datetime('2017-10-06', utc=True)
exchange_bundle = ExchangeBundle(get_exchange(exchange_name))