Click here to Login





                                                   Tabular Output from the DWMY charts

  0

0
Amritendu Maji
2017-09-06 01:04:44


I would like to obtain the data that is shown in the Daily, weekly, monthly and yearly charts. That way, I have the exact numbers and can compare the performance of a system with another system on a monthly basis.

Thank you.



QuantShare
2017-09-06 11:12:30

  0

That data cannot be exported directly, however you can create a money management script to export similar data.

This item for example exports equity data to Excel:
Equity and Date Export To Excel

This one makes use of monthly and yearly returns:
Standard Deviation of Monthly/Yearly Returns





Standard Deviation of Monthly/Yearly Returns (by MikeMM, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads Notes Report an item
Equity and Date Export To Excel (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads Notes Report an item

Amritendu Maji
2017-09-10 18:55:26

  0

I was able to modify the the Standard Deviation script to return annual and monthly returns. However, it just returns the two values in the final report.

I am trying to get the tabular values for the Monthly and Yearly returns that are used to construct the charts. How can I get that?

The importance of monthly and yearly returns cannot be understated for a trading system and that is why I appreciate your giving those values in a chart form. However, we need the values in tabular form so that we can compare performance between various systems on a monthly basis, including performance reported by others. How can I modify the Excel export script to do that?

Thank you.



QuantShare
2017-09-11 10:28:19

  0

Please contact support by email if you want a quote on a script that gets monthly and yearly returns data from a money management script.

Please note that currently there is no direct way to get this data.



SystemTrade
2017-09-19 09:00:54

  0

Best Answer
... there are DailyReturn, WeeklyReturn, MonthlyReturn and YearlyReturn series arrays available in the metrics class after the simulation run.

You might create a metric (Analysis --> Simulator --> Create a metric) in which you retrieve an array and loop through it (don't forget to activate the metric):

for (int i = 0; i < MonthlyReturn.Count; i++) Global.Trace(MonthlyReturn[i].ToString());

This example prints the monthly returns to the output window (View --> Output).




Amritendu Maji
2017-09-19 11:04:39

  0

Thank you SystemTra.de... very much appreciated.


Amritendu Maji
2017-09-19 22:32:24

  0

I copied and pasted the formula in the metric window, compiled it and then saved it. I then clicked on metric and selected that "monthly return" metric and made sure that it was checked. However, when I ran a back test, nothing appeared on either of the output or the list output windows.

Not sure what I am doing wrong. Need a little more guidance.

Thank you.



Amritendu Maji
2017-09-20 01:41:01

  0

Please disregard my last email. I rebooted the computer and now it works!!


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
How far are the close prices from the support line
Output metric for each trading year
Average Output Per Year
Lagged Data From a Custom Database
Currency Trading News from Yahoo - Forex Market

How-to Lessons
How to download a trading item from the Sharing Server
How to plot two different time frames in the same chart
How to import trading items from other accounts
How to calculate the average of a time series using the money man...
How to drag & drop indicators in charts

Related Forum Threads
Plotting the data from custom -Intraday data base
How do I reduce a position size from within the Money Management
How can I avoid UAE prompts when launching from the QS Task Manag...
Access the equity value of the portfolio from the simulator
Creating charts where the X axis is NOT tied to the time scale?

Blog Posts
Charting & Scripts - Manage stock charts using the global script
How to Adjust the Time Displayed in your Intraday Charts
Automatically create historical quotes charts
Lock, Link and Undock your Charts
QuantShare Trading Software: New Features in the 3.4.2 Version









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.