Click here to Login





                                                   Accessing fees in Money Management script

  0

0
Dave Walton
2013-07-02 08:35:56


Hi, I'm trying to add a simple sum of all trading fees as a metric in the statistics tab. It appears that there is no existing field for this for MMPositions type? I know there must be a way to access the data as the trades tab has this info per trade. How can I accomplish this?


QuantShare
2013-07-02 21:45:34

  0

This field already exists in the statistics tab (Total Trading Costs).



Dave Walton
2013-07-03 00:01:45

  0

Yes but I want to use it in a calculation. is there a way to do it?


QuantShare
2013-07-03 04:01:59

  0

Best Answer
We will add a new field in MMPosition class in the next release.


Dave Walton
2013-07-04 01:03:53

  0

excellent! thank you.


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
Withdraw a Fixed Amount Every Month - Money Management
Correlation Filter Money Management Strategy
Investing in stocks using the Kelly criterion money management st...
Return per Bar Stop - Money Management Strategy
Averaging Down Money Management Strategy

How-to Lessons
How to calculate the average of a time series using the money man...
How to debug a trading system using the money management tool
How to run a screen or a watchlist from a script
How to get stocks for a particular index using the global script
How to execute a script at regular intervals

Related Forum Threads
Money Management script and exit options in the wizard
Can a Money Management script access a custom function?
Get the Previous N bar Date/DateTime in Money Management script
Advance Money Management Script debug.
Money Management Script variables and more

Blog Posts
Create a trading strategy using the money management tool - Part ...
Create a trading strategy using the money management tool - Part ...
Basic trading system implemented using the money management tool
Several money management strategies in a 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.