This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
This Script MM is constructed for rebalancing your portfolio. When you buy in one day all of your assets MM this script works:
Allocations are based on the observed volatility of
each asset over the recent past for a portfolio of stocks and bonds. This concept can easily be extended to a
universe of any size.Specifically, the allocations are adjusted at each monthly rebalance period so that each
asset contributes the same 1% daily(Targeted_Volatility) volatility to the portfolio, to a maximum of 100% exposure.
The allocation to any asset is calculated as follows:
With n assets, the allocation equals:
1/n * 1% / [observed volatility of the asset over the past 60 days(Period_Stddev)], < 1 / n
Example: If there are 10 assets, and observed volatility of asset A is 0.8% then
allocation to asset A = 1/10 * 1% / 0.8% = 10% * 1.25 = 12.50% but
12.5% > 1 / 10 so allocation is truncated to 10%.
Period_Stddev: Period of Standard Deviation
Percentage_Invested: If you use 100% of your money then set 100 , if you use 80% set 80
Targeted_Volatility: On day Volatility: 1 = 1%; 2= 2%, etc.
You can optimize all paramaters. This script can improve performance your TAA strategies.
Idea comes from: http://02f27c6.netsolhost.com/papers/darwin-adaptive-asset-allocation.pdf
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.