Click here to Login

                                                   Set Position Size by Ticker Within Main Strategy


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.


2014-08-08 14:39:04


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

2014-08-08 15:50:58


OK, thanks

No more messages


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"


Trading Items
Hull Moving Average Strategy - Multi Time Frame Trading System
BSE Main and Sectoral Indices
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

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2024
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
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.