[Mod] use bitstamp gateway

This commit is contained in:
vn.py 2019-09-25 16:00:24 +08:00
parent d741221c41
commit d868bdf0da

View File

@ -29,6 +29,7 @@ from vnpy.gateway.okexs import OkexsGateway
# from vnpy.gateway.alpaca import AlpacaGateway # from vnpy.gateway.alpaca import AlpacaGateway
from vnpy.gateway.da import DaGateway from vnpy.gateway.da import DaGateway
from vnpy.gateway.coinbase import CoinbaseGateway from vnpy.gateway.coinbase import CoinbaseGateway
from vnpy.gateway.bitstamp import BitstampGateway
from vnpy.app.cta_strategy import CtaStrategyApp from vnpy.app.cta_strategy import CtaStrategyApp
# from vnpy.app.csv_loader import CsvLoaderApp # from vnpy.app.csv_loader import CsvLoaderApp
@ -72,7 +73,8 @@ def main():
# main_engine.add_gateway(AlpacaGateway) # main_engine.add_gateway(AlpacaGateway)
# main_engine.add_gateway(OkexsGateway) # main_engine.add_gateway(OkexsGateway)
# main_engine.add_gateway(DaGateway) # main_engine.add_gateway(DaGateway)
main_engine.add_gateway(CoinbaseGateway) # main_engine.add_gateway(CoinbaseGateway)
main_engine.add_gateway(BitstampGateway)
main_engine.add_app(CtaStrategyApp) main_engine.add_app(CtaStrategyApp)
main_engine.add_app(CtaBacktesterApp) main_engine.add_app(CtaBacktesterApp)