Kelly criterion on Portfolio! - MultiCharts | futures io social day trading
futures io futures trading


Kelly criterion on Portfolio!
Updated: Views / Replies:800 / 0
Created: by Gabriel123 Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

Kelly criterion on Portfolio!

  #1 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: ProRealTime
Favorite Futures: DAX
Posts: 39 since Jul 2015
Thanks: 6 given, 4 received

Kelly criterion on Portfolio!


I have the code below for Kelly criterion position sizing. However I want to use Kelly criterion for a portfolio, not for a single instrument. When using this code on the instruments in a portfolio the Kelly criterion sizing is counted for, for every instrument separately.

Meaning, if the latest trades on AAPL har been doing great, the position size on that might be 10000 stocks, while the portfolios next trade in, let's say, MCD only takes 500 stocks since the latest trades in that instrument have been loosers.

How do I change this code to make it treat the whole portfolio as a instrument - meaning that it takes bigger position size after winning trades regardless of which instruments they were made on?

Is it necessary to add a money management code?

This is my code:

InputsInitialCapital100000 ), Margincapital5000 ), KellyPercent.45 {Half-Kelly}); 
Vars:   TradeSize), Equity), GL), GP), NWT), TT), 
ProfitFactor), WTP), KellyCriterion), Kelly);

ATR AvgTrueRange(10);

Equity    Round((InitialCapital NetProfit OpenPositionProfit),0);//Equity

//Kelly Criterion Variables
GL        Average(Absvalue(Grossloss),30);     
GP        Average(Grossprofit,30);
NWT     Numwintrades;
TT      Totaltrades;
//Kelly Criterion Calculation
If GL <> 0 then  
TT <> 0 then 
= (NWT TT); 
ProfitFactor <> 0 then 
WTP - ((WTP)/(ProfitFactor));
Kelly = (KellyCriterion KellyPercent) * Equity
Margincapital <> 0 then 
Kelly /  Margincapital;
TradeSize MaxList(1Round(TradeSize,0));

//RSI Strategy - Buy
If Marketposition 0 then 
If RSI(c,2) < and Average(C,200then 
(TradeSize*50000/Cshares next bar at L limit;    
Value1 TradeSize*50000/C;

//RSI Strategy - Sell 
If Marketposition 1 then 
If RSI(c,2) > 70 then
    sell value1 shares next bar at market
Value1 0;    

TradeSize 0 then TradeSize 0

Reply With Quote


futures io > > > > Kelly criterion on Portfolio!

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Journal Challenge w/Earn2Trade and $599 in Prizes


Anthony Drager: TBA

Nov 29

Linda Raschke: TBA

Elite only

Peter Davies: TBA

Dec 6

Brannigan Barrett: TBA

Elite only

Cannon Trading: Ask Me Anything

Dec 13

Similar Threads
Thread Thread Starter Forum Replies Last Post
Roy Kelly's Trend Pro Sam7768 Trading Reviews and Vendors 15 May 21st, 2016 03:45 PM
Webinar: Ernest Chan on Capital Allocation and Risk Management (Kelly) Big Mike Psychology and Money Management 27 May 2nd, 2016 07:06 PM
Roy Kelly pchofard The Elite Circle 25 June 8th, 2015 06:29 PM
Optimal position sizing strategy (including considerations on Kelly criterion) Nicolas11 The Elite Circle 15 August 19th, 2014 06:32 PM
Risk of ruin for kelly rosariod Psychology and Money Management 3 September 8th, 2012 11:55 AM

average, es, marketposition, money management, multicharts, portfolio, position size, position sizing, position_sizing, rsi, strategy

All times are GMT -4. The time now is 01:53 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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.
no new posts
Page generated 2018-11-16 in 0.07 seconds with 14 queries on phoenix