Equal weighted portfolio in R quantstrat package - Matlab, R project and Python | futures io social day trading
futures io futures trading

Equal weighted portfolio in R quantstrat package
Updated: Views / Replies:984 / 2
Created: by tonald 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 90,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

Equal weighted portfolio in R quantstrat package

  #1 (permalink)
Trading Apprentice
Hong Kong
Futures Experience: Beginner
Platform: R
Favorite Futures: Stocks
Posts: 1 since Jun 2015
Thanks: 0 given, 0 received

Equal weighted portfolio in R quantstrat package

I am now trying to create an equal weighted portfolio using quantstrat which will rebalance at the month end. Instead of using fixed quantities, I need to have the latest portfolio value reallocated to each constituents equally. May I know how can I achieve this in the add.rule? In other words, how can I draw the most updated portfolio value in each rebalancing?

To be clear, I will generate a list of 10 stocks each month end and what I want is to equally allocate the latest portfolio amount equally to the 10 stocks repeatedly each month end.

Any help will be appreciated.

Thanks Donald

Reply With Quote
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Elite Member
Philadelphia + NJ/US
Futures Experience: Beginner
Platform: quantstrat
Favorite Futures: ETFs
Posts: 52 since Aug 2014
Thanks: 4 given, 39 received

This post has been selected as an answer to the original posters question Answer

Wrong tool.



Reply With Quote


futures io > > > > Equal weighted portfolio in R quantstrat package

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
quantstrat blotter pipsalottle Matlab, R project and Python 1 May 24th, 2015 02:30 AM
Portfolio, beta weighted in analyze tab not working? ToBeFrank ThinkOrSwim 0 April 24th, 2014 10:47 PM
shouldn't most indicators be weighted to volume? mcteague Platforms and Indicators 5 January 29th, 2013 10:48 PM
Battle of the Equal Bots? serac Elite Automated Trading 16 January 10th, 2012 10:01 PM
Sine Weighted MA (SWMA) Sam7768 NinjaTrader 16 November 28th, 2010 11:55 AM

All times are GMT -4. The time now is 10:09 AM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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-05-27 in 0.08 seconds with 23 queries on phoenix via your IP