Skip to content

Commit 13a236b

Browse files
authored
Merge pull request #25 from tejtw/v2.1.0rc2
v2.1.0
2 parents b6780f3 + ae4f9a2 commit 13a236b

File tree

153 files changed

+414860
-760
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+414860
-760
lines changed
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.

src/zipline/__init__.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# limitations under the License.
1515
from distutils.version import StrictVersion
1616
import os
17+
if os.getenv('TEJAPI_BASE') is None :
18+
os.environ['TEJAPI_BASE'] = 'https://api.tej.com.tw'
1719
import numpy as np
1820

1921
# This is *not* a place to dump arbitrary classes/modules for convenience,
@@ -27,7 +29,7 @@
2729
from .utils.numpy_utils import numpy_version
2830
from .utils.pandas_utils import new_pandas
2931
from .utils.run_algo import run_algorithm
30-
32+
3133
# These need to happen after the other imports.
3234
from .algorithm import TradingAlgorithm
3335
from . import api
@@ -50,10 +52,7 @@
5052
del global_calendar_dispatcher
5153

5254
try :
53-
from ._version import get_versions # noqa 402
54-
55-
__version__ = get_versions()["version"]
56-
del get_versions
55+
from ._version import __version__ # noqa 402
5756
except :
5857
__version__ = '2.2.0'
5958

0 commit comments

Comments
 (0)