Click here to Login





                                                   Set Position Size by Ticker Within Main Strategy

  0

0
swalk10
2014-08-08 13:54:50


Is there an example of how to set a position size different by ticker within the main strategy backtest code, or does it have to be done in the AMM?

For example, I simply want to create a variable "Size" (which will be a function of other strategy variable results) to represent % of available equity to trade by ticker ,
which will be calculated by formula with a different variable result for each ticker, and recalculated for each time period.

Thanks!



QuantShare
2014-08-08 14:39:04

  0

Best Answer
Currently, position sizing can be done only using AMM.


swalk10
2014-08-08 15:50:58

  0

OK, thanks


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
Hull Moving Average Strategy - Multi Time Frame Trading System
Position Sizing: Fixed Dollar Amount
Fixed Fractional Position Sizing
Stock Industry Position
Scale-in Trading Strategy

How-to Lessons
How to quickly add a ticker symbol
How to set order type of a trading system programmatically
How to rename a ticker symbol
How to create a trading system
How to import your own list of stocks/symbols

Related Forum Threads
How do I reduce a position size from within the Money Management
Set Global Variable Between Strategy and AMM
Ability to Set Default Text Size in Editor Windows
Incorrect position metrics using MMExitPosition within MM script
Dynamic Position Sizing

Blog Posts
Money Management: Scale-in Trading Strategy
How to combine long, short and custom portfolio strategies within...
Dynamic Position Sizing in your Trading System
5 position sizing techniques you can use in your trading system
Money Management: Optimize the scale-in strategy









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.