require("./common");
//配置客户端,NodeQuant启动,会连接已经配置打开的交易客户端
ClientConfig={
    CTP:{
        PowerOn:true,
        userID:"073572",
        password: "qq632386504",
        brokerID:"9999",
        mdAddress: "tcp://218.202.237.33:10012",
        tdAddress: "tcp://218.202.237.33:10002"
    }
};
StrategyConfig={
    Strategys:[
        {
            name:"Demo",
            className:"DemoStrategy",
            symbols: {
                "i1709":{
                    fee:0.00006,
                    closeTodayFee:0.00024,
                    feeType:FeeType.TradeAmount
                }
            },
            BarType:KBarType.Minute,  //K线类型是: 分钟
            BarInterval:1,             //1分钟K线
        }
    ]
};

//MongoDB数据库配置
MongoDBConfig={
    Host:"localhost",
    Port:"27017"
};

//该设置配合NodeQuant通知服务可以通过声音,邮件通知用户策略发生的异常
NotifyExceptionConfig={
    ExceptionType:[
        ErrorType.Disconnected,
        ErrorType.OperationAfterDisconnected,
    ]
};

@@ -117,14 +117,14 @@
 ID:%22
-073572
+888888
 %22,%0A 
@@ -145,19 +145,14 @@
 d: %22
-qq632386504
+888888
 %22,%0A 

Version 1