ISSUE - ExecuteMarketOrder
ISSUE - ExecuteMarketOrder
03 Sep 2019, 09:54
Hi,
found a little bug ?!? ExecuteMarketOrder require string nameSymbol but if set to Symbol.Name ( string value ) get a error !
How fix ?
P.S. Forum notifications for replay post not work !
Replies
ctrader.guru
03 Sep 2019, 10:01
Broker : ICMARKETS
cTrader : 3.5
cBot : https://gist.github.com/cTraderGURU/24c5ef3c715b514f3f1c9086036becf5
@ctrader.guru
PanagiotisCharalampous
03 Sep 2019, 10:11
Hi cTrader.Guru Team,
1) The cBot you sent builds fine.
2) If you change olny the Symbol.Name, you will get an error since there is no function with that signature. It seems you are using market range therefore you will need to use ExecuteMarketRangeOrder instead.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
03 Sep 2019, 09:58
Hi cTrader.Guru Team,
What error do your get? Which broker do you use? Can you share a cBot that we can use to reproduce the problem?
Best Regards,
Panagiotis
@PanagiotisCharalampous