Jump to content
Medved Trader Forums
  • 0

Custom (Calculated) Columns


Question

Posted

In a (much) older version, wasn't there a "Custom" column in the column picker? This would allow user to define a formula to calculate the value based on values from other columns.

I have several uses for this. For example, in Portfolio window, I might want a column to show greeks for the position, based on the number of contracts held. I could get this in th options analysis window, but if viewing a number of positions in a portfolio, having a column would be much faster.

Having a user customizable column may also reduce dev work by satisfying a number of requests for specific columns that are not currently available.

PS,
My appologies in advance if this topic exists. I did search before posting.

Thanks

 

1 answer to this question

Recommended Posts

  • 0
Posted

There wasn't such a column, but what you CAN do is use the scanner for it. Create a scan that does whatever calculation you want, then do the SetScanResult to that number. Run the scan on the portfolio. The result will show in the ScanResult column.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...