Click here to Login





                                                   long/short systems

  0

0
allan nathan
2013-08-19 19:01:21


Is there a method where one can trade a long short system with aox equal notional on each side,or having a user defined weighting of longs vs shorts

Thanks,

Allan



QuantShare
2013-08-22 19:10:02

  0

Yes, you can do that in the money management script. You can for example trade long or short aox depending on the number of shares you have on the long and short side (calculate the difference).

Setting a different weight for longs and shorts can be done using the money management script too.
Example:
Portfolio.UpdateCategorySettings("long", 60, 10, null); // 10 positions for longs / 60%
Portfolio.UpdateCategorySettings("short", 40, 10, null); // 10 positions for shorts / 40%



No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Long/Short Term Moving Average Indicator
Flat Market Indicator
McGinley Dynamic Indicator
Bulls and Bears Strategy
Asset Allocation: Equal Weight Rebalanced Monthly

How-to Lessons
How to add trades from one portfolio to another one
How to optimize the number of positions in a trading system
How to quickly select stocks based on the last value of a databas...
How to create histogram charts
How to create a composite index/indicator

Related Forum Threads
Basic Backtesting and Systems
Capital allocation - total capital is split in Long/Short strateg...
Automated Trading Systems Without Realtime Data Provider
Combine Trading Systems and invest 100% Equity?
Long/short portfolio rebalancing

Blog Posts
The Ultimate Guide to Create Trading Systems in QuantShare
Correlation Between Multiple Trading Systems
Let me Show You How to Create Hundreds of Profitable Trading Syst...
Trend following systems
4 indicators to create adaptive trading systems









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



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.