veighna-global / vnpy_mt5

MT5 trading gateway for VeighNa Evo
MIT License
16 stars 9 forks source link

vnpy_server.mq5 放到MT5里编译不了 #6

Open cjj208 opened 1 month ago

cjj208 commented 1 month ago

variable 'symbol' not used vnpy_server.mq5 285 11 implicit conversion from 'int' to 'string' vnpy_server.mq5 394 21 implicit conversion from 'ulong' to 'string' vnpy_server.mq5 418 23 implicit conversion from 'string' to 'number' vnpy_server.mq5 419 19 return value of 'OrderSelect' should be checked vnpy_server.mq5 419 7 4 errors, 9 warnings 5 10

请问这是什么原因

786449611 commented 2 weeks ago

我把这个 //extern string HOSTNAME = "*"; //extern int REP_PORT = 6888; //extern int PUB_PORT = 8666; //extern int MILLISECOND_TIMER = 10; 改为了如下,就可以了

define HOSTNAME "*"

define REP_PORT 6888

define PUB_PORT 8666

define MILLISECOND_TIMER 10