Go Back   NinjaTrader Support Forum > NinjaTrader 7 > Platform Technical Support

Platform Technical Support General platform technical support for NinjaTrader 7.

NinjaTrader
Reply
 
Thread Tools Display Modes
Old 03-05-2007, 03:59 AM   #1
PrTester
Senior Member
 
Join Date: Mar 2007
Posts: 216
Thanks: 2
Thanked 10 times in 7 posts
Post imported post

Hi, I'm making an automated strategy with 2 contracts(emini), when it execute the stop or profit it doesn't display the right amount of money in the Dom. any ideas?, I'm not a programmer my software experience is limited. Thanks
PrTester is offline  
Reply With Quote
Old 03-05-2007, 05:13 AM   #2
NinjaTrader_VinceB
NinjaTrader Customer Service
 
NinjaTrader_VinceB's Avatar
 
Join Date: Mar 2005
Location: Amsterdam, The Netherlands
Posts: 2,559
Thanks: 55
Thanked 80 times in 77 posts
Post imported post

Hi,

Have you set up your commissions correctly?



First you need to open up the Instrument Manager and highlight the contract in the middle section you are trading and click Edit. This will bring up the Instrument Editor. Then click on the Misc tab and click click on the '+' button foryour datafeed provider. Then enter the minimum commission and click OK.


Then go to Tools--> Options--> Commission tab and do the same thing for Futures -Datafeed Providerand click OK.


Then under Tools--> Options--> General tab, make sure that 'Apply Commission to P/L Calculations' is checked.

More info can also be found here:

http://www.ninjatrader-support.com/H...sionRates.html

And here:

http://www.ninjatrader-support.com/H...issionTab.html


Vince
NinjaTrader_VinceB is offline  
Reply With Quote
Old 03-05-2007, 09:19 AM   #3
PrTester
Senior Member
 
Join Date: Mar 2007
Posts: 216
Thanks: 2
Thanked 10 times in 7 posts
Post imported post

Vince,

Thanks for your quick responce, my problem doesn't have any relation with the commissions, it appears to have an issue with the qty of contract and the PnL, if I increase the number of contract the error appears to be bigger.

PD

My live account works fine. I got the problem w the sim 101 account and the simulator, the strategy is not ready and no live testing was made.


PrTester is offline  
Reply With Quote
Old 03-05-2007, 09:23 AM   #4
NinjaTrader_VinceB
NinjaTrader Customer Service
 
NinjaTrader_VinceB's Avatar
 
Join Date: Mar 2005
Location: Amsterdam, The Netherlands
Posts: 2,559
Thanks: 55
Thanked 80 times in 77 posts
Post imported post

What version are you using? Can you check under Help--> About.

Also repair your database. Go to Tools--> Options--> Misc tab--> Repair DB--> restart NinjaTrader.



Vince
NinjaTrader_VinceB is offline  
Reply With Quote
Old 03-05-2007, 09:27 AM   #5
PrTester
Senior Member
 
Join Date: Mar 2007
Posts: 216
Thanks: 2
Thanked 10 times in 7 posts
Post imported post

I'm using 6.0.0.8; I'll try your recomendation. I reply later. Thanks
PrTester is offline  
Reply With Quote
Old 03-05-2007, 10:16 AM   #6
PrTester
Senior Member
 
Join Date: Mar 2007
Posts: 216
Thanks: 2
Thanked 10 times in 7 posts
Post imported post

Vince,

I repair the database but the issue continues, I got more info:

For sp-mini which is $12.50 per tick per contract, if I use 2 contract for 1 tick it supposes to be 2 contract * 12.50 * 1 Tick = $25.00 less (say 2.40 commission ea) total profit must be $20.20, The Dom shows $40.40 and if I change the contract number to 10 contract *12.5 * 1 tick = $125.00 less commissions, the Dom shows $1202.00. Apparently he calculate the commission fine but multiply the profit by the number of contracts, with 2 contract multiply profit by 2 and with 10 contracts multiply profit by 10.

I’m using the following order to get filled:

EnterShortLimit(10, Bars.CurrentAsk, "My");
SetProfitTarget("My", CalculationMode.Ticks, 1);
SetStopLoss("My", CalculationMode.Ticks, 3, false);
PrTester is offline  
Reply With Quote
Old 03-05-2007, 11:24 AM   #7
NinjaTrader_Ray
Founder and CEO
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,094
Thanks: 31
Thanked 266 times in 105 posts
Post imported post

We have confirmed an issue with beta 8 regarding account realized PnL. This will be resolved with next update.

Thanks for reporting this.

Ray
NinjaTrader_Ray is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:20 PM.

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations, unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs in general are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is an affiliated company to NinjaTrader Brokerage (“NTB”), which is a NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivative or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate and the information made available on this Web site is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly. The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. 

Vendors along with their websites, products and services, collectively referred to as (“Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.