Click here to Login

                                                   Access the equity value of the portfolio from the simulator


2019-07-18 18:41:40


Is there a way to access the total value of the portfolio being traded from the simulator ? If for instance I have a system with an equity = $10.000, I want access the value of equity at the start of each trade so that I can set a stop loss value using percent risk of equity.

I saw that there is a money management script that uses Fixed risk per trade but it doesn't seem to be executing the stop loss:


2019-07-21 12:13:47


What you are trying to do can be done using the money management script only.
The script has its own stop logic, it doesn't use the stop loss of the simulator.

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
Foreign Exchange Value of the Dollar - Nominal Indexes
How far are the close prices from the support line
Measure the value of the stock market using the Q-Ratio valuation...
Trading the Equity Curve
PREV - Previous value of the same formula

How-to Lessons
How to quickly select stocks based on the last value of a databas...
How to download a trading item from the Sharing Server
How to plot the number of stock tweets per day
How to plot two different time frames in the same chart
How to optimize the stop limit of a trading system

Related Forum Threads
Can you access custom functions from the downloader script events...
How do I reduce a position size from within the Money Management
Access all the elements of a custom db during screening
Trading system optimization using the QuantShare API Simulator
Turning the present value of an array into AN INTEGER (not array)...

Blog Posts
Optimizing the Strategy Equity Curve
Trading the Strategy Equity Curve
Introduction to the trading rules analyzer
Trading System: Buy stocks with the highest Sharpe ratio
Basic trading system implemented using the money management tool

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

Copyright 2021
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.