mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-26 13:18:31 +08:00
BUG/MAINT: Switch over to Google for benchmarking
MAINT: Remove mentions of Yahoo & ^GSPC MAINT: Fill in missing dates MAINT/BLD: Rebuild example data to match new benchmark
This commit is contained in:
Binary file not shown.
@@ -5,6 +5,7 @@ import shutil
|
||||
import tarfile
|
||||
|
||||
import click
|
||||
import matplotlib
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
|
||||
@@ -14,6 +15,8 @@ from zipline.testing import test_resource_path, tmp_dir
|
||||
from zipline.utils.cache import dataframe_cache
|
||||
|
||||
|
||||
matplotlib.use('Agg')
|
||||
|
||||
INPUT_DATA_START_DATE = pd.Timestamp('2004-01-02')
|
||||
INPUT_DATA_END_DATE = pd.Timestamp('2014-12-31')
|
||||
INPUT_DATA_SYMBOLS = (
|
||||
|
||||
@@ -54,8 +54,6 @@ class ExamplesTests(WithTmpDir, ZiplineTestCase):
|
||||
serialization='pickle',
|
||||
)
|
||||
|
||||
copy_market_data(WithTradingEnvironment.MARKET_DATA_DIR,
|
||||
cls.tmpdir.getpath('example_data/root'))
|
||||
|
||||
@parameterized.expand(examples.EXAMPLE_MODULES)
|
||||
def test_example(self, example_name):
|
||||
|
||||
Reference in New Issue
Block a user