Index mini lots (0.01 index) in cBots
Index mini lots (0.01 index) in cBots
30 Jan 2021, 08:07
Hi Panagiotis,
Please see if you could help here. I might be missing some simple trick.
I cannot use normal cBots to open Index mini-lots "0.01 Index"
Blow code don't work
[Parameter("Volume", DefaultValue = 1000)]
Changed value to 1 and still don't work
[Parameter("Volume", DefaultValue = 1)]
Regards
Replies
ctid1373829
01 Feb 2021, 12:40
( Updated at: 21 Dec 2023, 09:22 )
RE:
PanagiotisCharalampous said:
Hi there,
Please provide some more information, like the source code and the exact error message you receive.
Best Regards,
Panagiotis
For example, using MACD Bot code in the link below, how to open a "0.01 Index Lot" Thanks
https://ctrader.com/forum/cbot-support/9816
PanagiotisCharalampous
01 Feb 2021, 14:30
Hi again,
Change your volume to double and set it to 0.01
[Parameter("Volume", DefaultValue = 0.01)]
public double volume { get; set; }
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
01 Feb 2021, 07:57
Hi there,
Please provide some more information, like the source code and the exact error message you receive.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous