Bug fixes

This commit is contained in:
fredfortier
2017-10-11 22:05:29 -04:00
parent c33bab673f
commit c24918e2c8
5 changed files with 13 additions and 10 deletions
+4 -2
View File
@@ -1,3 +1,4 @@
from datetime import timedelta
from logging import Logger
import pandas as pd
@@ -12,8 +13,9 @@ class ExchangeBundleTestCase:
def test_ingest_minute(self):
exchange_name = 'bitfinex'
start = pd.to_datetime('2017-09-01', utc=True)
end = pd.Timestamp.utcnow()
# start = pd.to_datetime('2017-09-01', utc=True)
end = pd.Timestamp.utcnow() - timedelta(minutes=5)
start = end - timedelta(minutes=30)
exchange_bundle = ExchangeBundle(get_exchange(exchange_name))