NexusFi: Find Your Edge


Home Menu

 





getting ninja to calculate sharpe ratios


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 2 posts (0 thanks)
    2. looks_two PandaWarrior with 2 posts (0 thanks)
    3. looks_3 MadTr8r with 1 posts (0 thanks)
    4. looks_4 Silver Dragon with 1 posts (0 thanks)
    1. trending_up 3,569 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

getting ninja to calculate sharpe ratios

  #1 (permalink)
 
PandaWarrior's Avatar
 PandaWarrior 
In the heat
 
Experience: None
Posts: 3,165 since Mar 2010
Thanks Given: 6,329
Thanks Received: 13,405

How do I make ninja calculate a sharpe ratio? I found some programming stuff in the help files but I am not a programmer and do not use back testing. I want it to display the ratio in the results tab after a series of trades. Seems there should be a simple way to do this but after much searching, I cannot figure it out.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
33 thanks
Just another trading journal: PA, Wyckoff & Trends
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #2 (permalink)
 
Silver Dragon's Avatar
 Silver Dragon 
Cincinnati Ohio
Legendary Master Data Manipulator
 
Experience: Intermediate
Platform: TastyWorks / NT
Broker: TastyWorks /NT
Trading: FX, Stocks, Options
Posts: 2,107 since Feb 2011
Thanks Given: 6,422
Thanks Received: 5,238


PandaWarrior View Post
How do I make ninja calculate a sharpe ratio? I found some programming stuff in the help files but I am not a programmer and do not use back testing. I want it to display the ratio in the results tab after a series of trades. Seems there should be a simple way to do this but after much searching, I cannot figure it out.

I have done some research on this as well and honestly there is no easy way to calculate SR within Ninja Trader.

The two ways I have come up with is:
I have been messing around with the SQL database option just because I like database's. However, I dont have a working model yet.

Here are some other useful links:

Calculate the Sharpe Ratio with Excel
Sharpe ratio - Wikipedia, the free encyclopedia

SD

nosce te ipsum

You make your own opportunities in life.
Visit my NexusFi Trade Journal Reply With Quote
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



PandaWarrior View Post
How do I make ninja calculate a sharpe ratio? I found some programming stuff in the help files but I am not a programmer and do not use back testing. I want it to display the ratio in the results tab after a series of trades. Seems there should be a simple way to do this but after much searching, I cannot figure it out.

Where does NinjaTrader have a "results tab"?

If you have excuted a series of trades, you can select the "Account Performance" tab of the control center, and it shows the Sharpe Ratio of that series of trades.

Reply With Quote
  #4 (permalink)
 
PandaWarrior's Avatar
 PandaWarrior 
In the heat
 
Experience: None
Posts: 3,165 since Mar 2010
Thanks Given: 6,329
Thanks Received: 13,405


Fat Tails View Post
Where does NinjaTrader have a "results tab"?

If you have excuted a series of trades, you can select the "Account Performance" tab of the control center, and it shows the Sharpe Ratio of that series of trades.


Account performance is what I meant...but i've never had NT display anything other than 1

Simplicity is the ultimate sophistication, Leonardo da Vinci


Most people chose unhappiness over uncertainty, Tim Ferris
Started this thread Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


PandaWarrior View Post
Account performance is what I meant...but i've never had NT display anything other than 1

The Sharpe Ratio is based on monthly returns. If you have less than one month of data, you cannot calculate a Sharpe Ratio.

Reply With Quote
  #6 (permalink)
MadTr8r
Chicago
 
Posts: 12 since Dec 2010
Thanks Given: 6
Thanks Received: 3

Does anyone know if theres another way to change the ratios displayed within the results tab, kind of like a settings or options function within NT, to look at other metrics besides Sharpe

Reply With Quote




Last Updated on May 21, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts