Skip to content

Commit

Permalink
zipline 2.1.0rc0
Browse files Browse the repository at this point in the history
  • Loading branch information
韓政均 committed Sep 23, 2024
1 parent b6780f3 commit 454c5ad
Show file tree
Hide file tree
Showing 152 changed files with 414,716 additions and 757 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 4 additions & 5 deletions src/zipline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# limitations under the License.
from distutils.version import StrictVersion
import os
if os.getenv('TEJAPI_BASE') is None :
os.environ['TEJAPI_BASE'] = 'https://api.tej.com.tw'
import numpy as np

# This is *not* a place to dump arbitrary classes/modules for convenience,
Expand All @@ -27,7 +29,7 @@
from .utils.numpy_utils import numpy_version
from .utils.pandas_utils import new_pandas
from .utils.run_algo import run_algorithm

# These need to happen after the other imports.
from .algorithm import TradingAlgorithm
from . import api
Expand All @@ -50,10 +52,7 @@
del global_calendar_dispatcher

try :
from ._version import get_versions # noqa 402

__version__ = get_versions()["version"]
del get_versions
from ._version import __version__ # noqa 402
except :
__version__ = '2.2.0'

Expand Down
Loading

0 comments on commit 454c5ad

Please sign in to comment.