diff options
author | xianny <xianny@gmail.com> | 2018-12-07 06:28:22 +0800 |
---|---|---|
committer | xianny <xianny@gmail.com> | 2018-12-08 01:43:55 +0800 |
commit | 7b1471ffe80661a209ef3b4b9d4b67116708c210 (patch) | |
tree | 8e0a8aca0cdc974e7e6abd555ee25c90fc36e9eb /packages/pipeline/test | |
parent | 8b3b4d983f0f942fc4e42365d4cfcaf793d1d283 (diff) | |
download | dexon-sol-tools-7b1471ffe80661a209ef3b4b9d4b67116708c210.tar dexon-sol-tools-7b1471ffe80661a209ef3b4b9d4b67116708c210.tar.gz dexon-sol-tools-7b1471ffe80661a209ef3b4b9d4b67116708c210.tar.bz2 dexon-sol-tools-7b1471ffe80661a209ef3b4b9d4b67116708c210.tar.lz dexon-sol-tools-7b1471ffe80661a209ef3b4b9d4b67116708c210.tar.xz dexon-sol-tools-7b1471ffe80661a209ef3b4b9d4b67116708c210.tar.zst dexon-sol-tools-7b1471ffe80661a209ef3b4b9d4b67116708c210.zip |
query CC with larger batch size
Diffstat (limited to 'packages/pipeline/test')
-rw-r--r-- | packages/pipeline/test/data_sources/ohlcv_external/crypto_compare_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/test/data_sources/ohlcv_external/crypto_compare_test.ts b/packages/pipeline/test/data_sources/ohlcv_external/crypto_compare_test.ts index cb374bbb1..2efe3f5ec 100644 --- a/packages/pipeline/test/data_sources/ohlcv_external/crypto_compare_test.ts +++ b/packages/pipeline/test/data_sources/ohlcv_external/crypto_compare_test.ts @@ -13,7 +13,7 @@ const expect = chai.expect; describe('ohlcv_external data source (Crypto Compare)', () => { describe('generateBackfillIntervals', () => { it('generates pairs with intervals to query', () => { - const source = new CryptoCompareOHLCVSource(); + const source = new CryptoCompareOHLCVSource(20); const pair: TradingPair = { fromSymbol: 'ETH', toSymbol: 'ZRX', @@ -31,7 +31,7 @@ describe('ohlcv_external data source (Crypto Compare)', () => { }); it('returns single pair if no backfill is needed', () => { - const source = new CryptoCompareOHLCVSource(); + const source = new CryptoCompareOHLCVSource(20); const pair: TradingPair = { fromSymbol: 'ETH', toSymbol: 'ZRX', |