Code Monkey home page Code Monkey logo

option-hedging-strategy-modeling-based-on-time-value's Introduction

Option-Hedging-Strategy-Modeling-based-on-Time-Value

by Yingxin LIN

Introduce

  • Python code for a trading strategy based on time value, which is performed in the SSE 50ETF option market of China.

Strategy

  • I apply the time value of options as an indicator, to build a hedging strategy.
  • Specifically, I buy option contracts with large time value and sell option contracts with small time value.
  • Every month, I construct portfolios on the first trading day, and then I close portfolios on the last trading day.

Returns of the strategy

Fig.1 Cumulative returns of the strategy (compared with SSE 50ETF)

p2

Robust Test & Attribution of Strategy

  • I divide options into fair value options and imaginary value options, and back-test the strategy on both of them respectively.
  • The division is based on S/K - 1 value (i.g. EPS) of each option.

Fig.2 Price status of options in the sample period

p3

  • Comparing Fig.3 and Fig.4 below, I find that the return of the strategy mainly comes from virtual options.

Fig.3 Cumulative returns of strategy applied on the imaginary value options (with different EPS)

p4 Fig.4 Cumulative returns of strategy applied on the imaginary virtual options (with different EPS)

p5

Copyright notice

  • AUTHOR: Yingxin LIN
  • Company: School of Finance, Central University of Finance and Economics (CUFE)
  • Contact: [email protected] or [email protected]
  • The copyright belongs to Yingxin LIN , 2021/08/22.

Enjoy(。^▽^) ! (...and extend/modify) 😊

option-hedging-strategy-modeling-based-on-time-value's People

Contributors

lyx66 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

siren7sea kong-xc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.