forked from vnpy/vnpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request vnpy#1527 from nanoric/pip_from_oss
Pip from oss
- Loading branch information
Showing
4 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
PyQt5<5.12 | ||
dataclasses; python_version<="3.6" | ||
qdarkstyle | ||
futu-api | ||
requests | ||
websocket-client | ||
peewee | ||
numpy | ||
pandas | ||
matplotlib | ||
seaborn | ||
ta-lib | ||
ibapi | ||
futu-api | ||
tigeropen | ||
|
||
# ta-lib | ||
ta-lib; platform_system=="Linux" | ||
https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl; platform_system=="Windows" | ||
|
||
# ibapi | ||
# todo: use cdn instead | ||
https://vnpy-pip.oss-cn-shanghai.aliyuncs.com/colletion/ibapi-9.75.1-py3-none-any.whl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# flake8: noqa | ||
import unittest | ||
|
||
|
||
class ImportTest(unittest.TestCase): | ||
|
||
# noinspection PyUnresolvedReferences | ||
def test_import_all(self): | ||
from vnpy.event import EventEngine | ||
|
||
from vnpy.trader.engine import MainEngine | ||
from vnpy.trader.ui import MainWindow, create_qapp | ||
|
||
from vnpy.gateway.bitmex import BitmexGateway | ||
from vnpy.gateway.futu import FutuGateway | ||
from vnpy.gateway.ib import IbGateway | ||
from vnpy.gateway.ctp import CtpGateway | ||
from vnpy.gateway.tiger import TigerGateway | ||
from vnpy.gateway.oes import OesGateway | ||
|
||
from vnpy.app.cta_strategy import CtaStrategyApp | ||
from vnpy.app.csv_loader import CsvLoaderApp | ||
|
||
|
||
if __name__ == '__main__': | ||
unittest.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters