Im backtesting on a CFD product and struggling to understand the value of the default quantity section. Initially assumed a value of 1 represented 1 CFD. This resulted in taking miniscule trades and was therefore increased to 100, which still resulted in trades taking place with peppercorn values. What's the deal here?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Default Quantity in Strategy Analyzer
Collapse
X
-
Default Quantity in Strategy Analyzer
Hi,
Im backtesting on a CFD product and struggling to understand the value of the default quantity section. Initially assumed a value of 1 represented 1 CFD. This resulted in taking miniscule trades and was therefore increased to 100, which still resulted in trades taking place with peppercorn values. What's the deal here?Tags: None
-
Hello demo166130,
Thanks for your post.
The DefaultQuantity property simply sets the number of contracts or shares to enter a position with.
What version of NT8 are you using?
What specific instrument are you testing?
What quantity are your orders being submitted for? What are these specific 'peppercorn' values?Josh G.NinjaTrader Customer Service
-
Using NT7, think I understand better now how the values work. The low values being entered were taking v.mall positions so the price moves were creating tiny profits/losses per trade.
Is there a way to baktest using a fixed percentage of account value in order to universalise the entries across a various instruments?
Comment
-
On a side issue loosely related. A comission value of 0.1 for CFD's is fairly accurate? Obviously, you can't give me exact values because it varies from broker to broker and instrument to instrument, but doesn this sound somewhat realistic?
Comment
-
demo166130,
What sounds realistic for specific commission values is beyond my expertise. As you noted, it would likely be best to research rates by specific broker. I will leave this post open for anyone else that may have more insight on commission values.Josh G.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
68 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
55 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment