mirror of
https://github.com/wassname/catalyst.git
synced 2026-09-10 11:50:32 +08:00
Making some adjustments to the ingestion method after discussion with Victor
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user