Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 559 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Beta weighting function for options trading? #464940
03/18/17 00:40
03/18/17 00:40
Joined: Oct 2016
Posts: 8
R
robotekkers Offline OP
Newbie
robotekkers  Offline OP
Newbie
R

Joined: Oct 2016
Posts: 8
Hello all,

The Algorithmic Options Trading article on the Financial Hacker website has inspired me to devote the last two months studying options trading (mainly with Options Alpha). I've been unable to find in this forum or in the manual a way to generate or acquire the beta weight of a trading portfolio (such as, for example, in respect to the S&P500).

If a method for portfolio beta weighting is already on the way then brilliant! If not, and anyone has implemented this into their trading already, I would love to learn how so.

Thanks in advance.

Re: Beta weighting function for options trading? [Re: robotekkers] #464992
03/23/17 11:04
03/23/17 11:04
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
There is a Beta function in the TA-LIB. You can use the portfolio value, that is the weighted sum of all current option values, for the first data series and the S&P500 for the second data series.

Re: Beta weighting function for options trading? [Re: jcl] #465013
03/26/17 00:12
03/26/17 00:12
Joined: Oct 2016
Posts: 8
R
robotekkers Offline OP
Newbie
robotekkers  Offline OP
Newbie
R

Joined: Oct 2016
Posts: 8
Thank you jcl!

I'm just trying to get my head around using the beta weight of a portfolio to produce the profit/loss graph based on the price (or percentage change) of the S&P500 (with the assumption that all the option contracts in the portfolio were to expire on that very same day, to therefore assess how balanced the current state of the portfolio is). This would be an ideal way to therefore decide whether to enter a neutral, bullish or bearish trade, to therefore keep an overall balanced trading portfolio.

Ideally, there could be a function/formula that can be used to calculate the current profit/loss of a portfolio based on the percentage change in S&P500. This itself has not been an easy thing to find, but is a tool provided by several trading platforms.

To get a better idea of what I am talking about:
https://youtu.be/A-nTVuOaAjo?t=7m59s - Shows the graph in the ThinkorSwim platform
https://www.interactivebrokers.com/en/so...etapnlgraph.htm - Shows the graph in the Interactive brokers platform

This tool may be a handy feature/function in the next Zorro update.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1