Giter VIP home page Giter VIP logo

find-alpha-volatility-factor's Introduction

Find Alpha Volatility Factor

Brief Introduction

  1. Use total, upper, down, relative volatility factors to find Alpha.
  2. Define own functions for trading direction & volume.
  3. Implement whole trading process & back-test with daily frequency.
  4. Calculate and record important financial data.
  5. Plot charts & Output trading financial data into files for visualization.

Details

  1. Volatility factors:
  • Total Volatility (VOL):
    It measures the total volatility of the instrument. With higher volatility, it demands for higher return.
  • Upper/Down Volatility (UVOL/DVOL):
    It measures the volatility by trend (go up or down) of the instrument. With higher unilateral volatility, the price volatility is higher in this side.
  • Relative Volatility (RSJ): ๐‘๐’๐‰ = ๐”๐•๐Ž๐‹ โˆ’ ๐ƒ๐•๐Ž๐‹
    It measures the relative volatility of the instrument. With higher absolute value of relative volatility, it shows short-term pressure (sharp long and steady short power), and lower future return.
  1. Financial data: Holding, Position, Total assets, Available cash, Profit and Loss, Return, Sharp's retio, volatility...
  2. Trading records: Trading direction, Trading volume, Turnover rate, Trading times, Maximum drawdown...

Results

  1. RSJ has the best result in most years.
  2. Volatility Factors Windows: Shorter Time is better. 5 days, 10 days, 15 days windows perform better than long-time windows.
  3. Macro Factors Windows: Longer Time is better. 24 months provides a better PnL, return and maximum drawdown.
  4. Period Analysis:
  • This model follows the trend of the market.
  • It has a conservative approach. When the market is very volatile, it does not go as high or as low as CSI500.
  • It needs improvement in a market with high volatility.
  • It performs good in stable conditions. It overperforms the Chinese market by 30% in last two years.

Data: CSI500 Index
Data Source: Wind

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.