我在做对冲系统,如何同时对EURUSD,USDCHF,GBPUSD,USDJPY四个币种同时下单
我是这样写的
void buyme()
{
OrderSend("EURUSD",OP_BUY,0.1,Ask,5,0,0,NULL,NULL,0,Green);
OrderSend("USDCHF",OP_BUY,0.1,Ask,5,0,0,NULL,NULL,0,Green);
OrderSend("GBPUSD",OP_BUY,0.1,Ask,5,0,0,NULL,NULL,0,Green);
OrderSend("USDJPY",OP_BUY,0.1,Ask,5,0,0,NULL,NULL,0,Green);
}
可每次都只有EU能买到,正确的方法应该怎么写啊,高手们帮帮忙
求教:如何同时对不同币种下单
|