OmniVest Forum OmniVest Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


[Random Quote] -

  Current location        Thread information  
OmniVest User Forums
User-Created Portfolios
Spreadsheet to plot just the closed trades
Last Activity 7/22/2015 8:11 AM
15 replies, 1655 viewings

Jump to page : 1
Now viewing page 1 [25 messages per page]
 
back
Printer friendly version

^ Top
Mark Holstius

Elite
50010010025
Posts: 744

Joined: 10/11/2012
Location: Sleepy Hollow, IL

User Profile
 
Subject : Spreadsheet to plot just the closed trades
Posted : 10/23/2013 12:07 PM
Post #27373

As part of some research I’m doing I wanted a way to easily plot just the results of closed trades in OV portfolios.

There are excellent reasons for the way it’s presented in OV, with the chart showing “mark to market” equity and using that for the MDD figures and ending equity – but I feel comfortable with waiting for the trades to close and the attached spreadsheet is an easy way to obtain the data I want to see and use.

Here are a couple of examples of the difference in the 2 charts (Closed Trades Equity on top and OV's chart on the bottom);








You may not want to look at the data this way… but if you do, feel free to use the spreadsheet for your own testing and observation. (and please let me know if you find any errors or have suggestions...)

The SS will handle a portfolio with 50,000 trades (200 trades / month for 20 years).

Simply paste the OV historical data into the SS, sort the pasted data by Exit Date, and choose the date range you want to plot. (You can also adjust the starting balance and commissions).

The necessary data is extracted and computations are done to the right in the SS (off screen).

A simple step-by-step set of directions is attached and included on the “Notes” tab of the SS (“Closed_Trade_Equity_Instructions”).

Mark




[Edited by Mark Holstius on 10/23/2013 1:57 PM]

Attached file : Example01.png (421KB - 604 downloads)
Attached file : Example02.png (1068KB - 611 downloads)
Attached file : Chart Of Closed Trades Equity.xlsm (6943KB - 0 downloads)
Attached file : Closed_Trade_Equity_Instructions.png (2456KB - 238 downloads)

^ Top
Mark Holstius

Elite
50010010025
Posts: 744

Joined: 10/11/2012
Location: Sleepy Hollow, IL

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 2:06 PM
Post #27382 - In reply to #27373

I had trouble uploading those files, and when I tried clicking the link to download the spreadsheet attached to the post above I again get the "500 Internal Server Error"...

So - here's a link to the spreadsheet in Dropbox if you want to download it:

https://www.dropbox.com/s/ll0msprnrciw8wk/Chart_Of_Closed_Trades_Equity.xlsm

(Be sure to enable Macros when you open it)

Mark
^ Top
jim etter

New User

Posts: 3

Joined: 3/7/2013
Location: Blythewood, SC

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 2:41 PM
Post #27383 - In reply to #27382

Mark -- Thanks for your help and time spent for all us users.

Jim
^ Top
Steve Mayo

Legend
100100100100
Posts: 414

Joined: 10/11/2012
Location: Austin, TX

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 2:45 PM
Post #27384 - In reply to #27382

Nice job Mark!

Your comment about the late drop in the OV graph got me to thinking. The only way to truly compare apples to apples would be to, in your closed-trades graph, follow the open trades (and not take any new ones) after the end-date of the reporting period. In other words, to see if the paper losses really do turn into eventual gains on that set of opening trades.

Not sure its worth the effort to really program that but it makes for an interesting academic discussion. :-)

Steve
^ Top
Randy McBeath

Member

Posts: 13

Joined: 10/11/2012
Location: Mountain View, CA

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 3:16 PM
Post #27385 - In reply to #27382

Mark,

Thanks for sharing this great spreadsheet. Downloaded perfectly from DropBox.

Randy
^ Top
Mark Holstius

Elite
50010010025
Posts: 744

Joined: 10/11/2012
Location: Sleepy Hollow, IL

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 3:58 PM
Post #27386 - In reply to #27385

Hope it helps Randy...

You definitely get different information. Take a look at these charts of the same portfolio plotted in OV (MtM) vs using the OV historical data in the spreadsheet to plot equity as the trades are closed...



Mark



[Edited by Mark Holstius on 10/23/2013 4:05 PM]

Attached file : Chart_Personality.png (631KB - 549 downloads)

^ Top
John W

Elite
5001002525
Posts: 654

Joined: 10/11/2012
Location: Sydney, NSW, Australia

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 4:58 PM
Post #27387 - In reply to #27373

Mark,

You are very generous in helping others and have terrific continual positive input to all the Forums.

WELL DONE AND THANK YOU!!

John
^ Top
BrianD

Legend
100100100
Posts: 302

Joined: 2/23/2013
Location: Grand Rapids, MI

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 8:47 PM
Post #27390 - In reply to #27387

This is a excellent analysis tool! What would be REALLY nice is to do a simulated trade vs. real trade analysis and this would be an excellent tool to do it with.

Hopefully, in the near future, real position closing data will be presented in a concise manner by OV so we can do that analysis too. Not an easy report to create though, especially with high TPM profiles.

^ Top
Steve Mayo

Legend
100100100100
Posts: 414

Joined: 10/11/2012
Location: Austin, TX

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/23/2013 9:18 PM
Post #27391 - In reply to #27390

What we really need is the ability to download (or copy from a table) the mark-to-market end-of-day data that is used in the OV graph. Clearly Nirvana must have that data in a readily-available format or I don't think they would be able to generate those graphs that fast. Maybe if we can get enough people asking for it, Nirvana will provide a way to view/copy that data. :-)

[Edited by Steve Mayo on 10/23/2013 9:20 PM]

^ Top
Jim Dean

Elite
10002525
Posts: 1059

Joined: 10/11/2012
Location: L'ville, GA

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/24/2013 7:09 AM
Post #27393 - In reply to #27391

I agree that downloads (pref CSV files) are needed for virtually everything. This has been requested almost since day one and was as I recall pretty high on one of the orig survey response lists. I don't understand why it has t been done.

Re the mark to market data - if done really thoroughly it would be a LOT of data. Closing price for every in-trade symbol of every active strategy for every day of every trade for 13+ years - a big table! I'd think that the combined sum of all active trades for each day would suffice - that's what the equity graph is built from. Or would it be better to have it by portfolio?

[Edited by Jim Dean on 10/24/2013 7:11 AM]

^ Top
Steve Mayo

Legend
100100100100
Posts: 414

Joined: 10/11/2012
Location: Austin, TX

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/24/2013 8:55 AM
Post #27397 - In reply to #27393

I'm just campaigning for something simple: a way to export the data that was used to draw the performance graph, whether it's on an account, a portfolio or a strategy page. You can get it now by mouse-over on every point on the graph so clearly it is already compiled -- it shouldn't be hard to simply make it available to the user in a more useful format.
^ Top
Mark Holstius

Elite
50010010025
Posts: 744

Joined: 10/11/2012
Location: Sleepy Hollow, IL

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/24/2013 9:13 AM
Post #27399 - In reply to #27397

Great idea Steve!

Like you said, the MtM data must be there to be able to draw those charts so quickly - and it would be EXTREMELY useful for constructing new portfolios!

Is there any hope for a download capability in the near future Barry, and could it -please- include the MtM data?

Thanks,
Mark

^ Top
gbarber

Veteran
100100252525
Posts: 282

Joined: 12/30/2012
Location: Pearland, TX

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/24/2013 1:07 PM
Post #27408 - In reply to #27399

Mark

Thank you very much for this work. As stated in previous posts, I have been a fan of following the closed trades versus mark to market. The closed trades are what OV will actually do for you. The mark to market is hypothetical what might happen. When comparing strategies, I want to see what OV actually does. Mark to market is not relevant since it doesn't actually happen. it is a possible false threat or a possible false exuberance. It's not real until you close the trade.
^ Top
gbarber

Veteran
100100252525
Posts: 282

Joined: 12/30/2012
Location: Pearland, TX

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 10/24/2013 1:11 PM
Post #27409 - In reply to #27408

btw, if volume of requests matter, I will join the crowd by saying I also would like to see a user friendly means of extracting data into a spreadsheet. I along with many others have been requesting that in posts and in surveys.
^ Top
George

Member

Posts: 24

Joined: 9/29/2013
Location: Independence, Minnesota

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 11/27/2013 11:09 AM
Post #27658 - In reply to #27409

It would be nice to see per trade p/l in $ amount in addition to %, along with the running totals. We could then filter by Strategy and it may help refine our portfolio.
^ Top
Jon

Member

Posts: 12

Joined: 8/22/2013
Location: TEMPE, AZ

User Profile
 
Subject : RE: Spreadsheet to plot just the closed trades
Posted : 11/28/2013 12:25 AM
Post #27665 - In reply to #27373

Well done. Thank you!
Jump to page : 1
Now viewing page 1 [25 messages per page]
back

Legend    Action      Notification  
Administrator
Forum Moderator
Registered User
Unregistered User
E-Mail this thread to a friend
Toggle e-mail notification


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.