Back testing volume

Created at 28 Apr 2013, 00:01
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
DT

Dtp91

Joined 04.12.2012

Back testing volume
28 Apr 2013, 00:01


Hi 

I have been back testing a new robot and noticed that i get a 'Bad Volume' error when the trade volume is not in 1k lot. why is this 

exarmple:

 Trade.CreateBuyMarketOrder(Symbol, 1000); // This works fine 

 Trade.CreateBuyMarketOrder(Symbol, 1001); // Gives 'Bad Volume' error 




@Dtp91
Replies

cAlgo_Development
30 Apr 2013, 12:59

Each broker configures minimal amount you can trade for each symbol. There is also minimal step between volumes, for example minimal volume can be 1000 and minimal step is 1000, sou you can trade only 1000, 2000, 3000 and so on... In this case you can not buy 1500.


@cAlgo_Development

Dtp91
01 May 2013, 21:14

RE:
cAlgo_Development said:

Each broker configures minimal amount you can trade for each symbol. There is also minimal step between volumes, for example minimal volume can be 1000 and minimal step is 1000, sou you can trade only 1000, 2000, 3000 and so on... In this case you can not buy 1500.

Ok thank you

I didnt realize there was a minimum trade size


@Dtp91