Code Monkey home page Code Monkey logo

notebooks's Introduction

Analysis on systematic trading strategies

What is this repo?

This repository documents researches on

  • Systematic trading strategies (mainly using futures at the moment) that are published in the academic space
  • Some other miscellaneous results

The purpose is to reproduce what are presented in the papers, update the results on a regular basis and potentially add further experiments. Notebooks are automatically pushed to github.

** Throughout the notebooks, an internal library called vivace is used to facilitate the data management and quantitative analysis. This library will remain private as it's proprietary. **

What are the contents?

Currently, it maintains the following trading strategies

Strategy name Main reference Asset class Notebook
Time-series momentum Moskowitz 2012 Equity, Fixed-income, FX, Commodity trend_following_moskowitz2012.ipynb
Time-series momentum Baltas 2020 Equity, Fixed-income, FX, Commodity trend_following_baltas2020.ipynb
Time-series momentum with breakout signal Chevallier and Ielpo 2014 etc Equity, Fixed-income, FX, Commodity trend_following_breakout.ipynb
FX carry Deutsche Bank 2009 FX fx_carry.ipynb
Commodity term structure Koijen 2018 etc Commodity commodity_term_structure.ipynb
Commodity momentum Asness 2013 etc Commodity commodity_momentum.ipynb
Commodity skewness Fernandez-Perez 2018 etc Commodity commodity_skewness.ipynb
Commodity intra-curve La Française Group 2015 Commodity commodity_intra_curve.ipynb
Commodity crush spread mean-reversion Simon 1999 Commodity commodity_crush_spread_stat_arb.ipynb
Commodity crack spread mean-reversion Girma and Paulson 1999 Commodity commodity_crack_spread_stat_arb.ipynb
Cross-asset skewness Baltas 2019 etc Equity, Fixed-income, FX, Commodity cross_asset_skewness.ipynb
Equity overnight returns Knuteson 2020 etc Equity overnight_returns.ipynb
Equity short-term trading Connors 2009 Equity equity_short_term_trading_connors.ipynb
ETF intraday momentum Gao 2018 Equity equity_etf_intraday_momentum.ipynb

Additionally, there are notebooks on the following topics:

Analysis Main reference Asset Class Notebook
Long-only performance on futures contracts - Equity, Fixed-income, FX, Commodity futures_long_only.ipynb
Actively traded contract months - Equity, Fixed-income, FX, Commodity futures_active_contracts.ipynb
Greeks under Normal Black-Scholes model - - Greeks_under_normal_model.ipynb
Realised volatility measures Santander 2012 Equity, Fixed-income, FX, Commodity realised_volatility.ipynb
Inverse options Alexander 2021 Crypto inverse_option.ipynb
Uniswap V2 liquidity pool yield - Crypto crypto_uniswap_graph.ipynb

Reference

  • Alexander, C. and Imeraj, A., 2021. Inverse Options in a Black-Scholes World. arXiv preprint arXiv:2107.12041.
  • Asness, C.S., Moskowitz, T.J. and Pedersen, L.H., 2013. Value and momentum everywhere. The Journal of Finance, 68(3), pp.929-985.
  • Bakshi, G., Gao, X. and Rossi, A.G., 2019. Understanding the sources of risk underlying the cross section of commodity returns. Management Science, 65(2), pp.619-641.
  • Baltas, N. and Kosowski, R., 2020. Demystifying time-series momentum strategies: Volatility estimators, trading rules and pairwise correlations. Market Momentum: Theory and Practice", Wiley.
  • Baltas, N. and Salinas, G., 2019. Cross-Asset Skew. Available at SSRN.
  • BCOM Methodology - Bloomberg Professional Services https://assets.bbhub.io/professional/sites/10/BCOM-Methodology-MAR-2022_FINAL.pdf
  • Chevallier, J. and Ielpo, F., 2014. “Time series momentum” in commodity markets. Managerial Finance.
  • Connors, L.A. and Alvarez, C., 2009. Short Term Trading Strategies that Work: A Quantified Guide to Trading Stocks and ETFs. TradingMarkets Publishing Group.
  • Deutsche Bank, 2009, db Currency Return.
  • Fernandez-Perez, A., Frijns, B., Fuertes, A.M. and Miffre, J., 2018. The skewness of commodity futures returns. Journal of Banking & Finance, 86, pp.143-158.
  • Gao, L., Han, Y., Li, S.Z. and Zhou, G., 2018. Market intraday momentum. Journal of Financial Economics, 129(2), pp.394-414.
  • Girma, P.B. and Paulson, A.S., 1999. Risk arbitrage opportunities in petroleum futures spreads. Journal of Futures Markets, 19(8), pp.931-955.
  • Hollstein, F., Prokopczuk, M. and Tharann, B., 2020. Anomalies in commodity futures markets: Risk or mispricing?. Available at SSRN
  • Knuteson, B., 2020. Strikingly Suspicious Overnight and Intraday Returns. arXiv preprint arXiv:2010.01727.
  • Koijen, R.S., Moskowitz, T.J., Pedersen, L.H. and Vrugt, E.B., 2018. Carry. Journal of Financial Economics, 127(2), pp.197-225.
  • La Française Group, 2015, Commodity premia: It’s all about risk control
  • Moskowitz, T.J., Ooi, Y.H. and Pedersen, L.H., 2012. Time series momentum. Journal of financial economics, 104(2), pp.228-250.
  • Santander, 2012, Measuring Historical Volatility.
  • Simon, D.P., 1999. The soybean crush spread: Empirical evidence and trading strategies. Journal of Futures Markets: Futures, Options, and Other Derivative Products, 19(3), pp.271-289.

notebooks's People

Contributors

rolling-panda-san avatar

Stargazers

Burin avatar  avatar dinero avatar  avatar Serdest Gün avatar Hardik Joshi avatar  avatar  avatar MathxH Chen avatar Roma Aroma avatar  avatar  avatar Nishant Bhavsar avatar  avatar Thomas Lockie avatar  avatar Baili  avatar Chas Huggins avatar  avatar Mihnea Craciunescu avatar  avatar  avatar GengJing avatar Mudit Tiwari avatar Luca Giorgianni avatar Matej Reich avatar Michael Angerman avatar Derek Snow avatar  avatar  avatar Paulius Gasparavicius avatar Maximilian Wimmer avatar  avatar Vishal Belsare avatar TsutomuN avatar Hyeongdo Lee avatar Basil Sh. avatar  avatar RequieMa avatar Chris Aivazidis avatar Kyle Montag avatar Burak avatar  avatar Siyu avatar  avatar Akhil Dhir avatar  avatar  avatar  avatar haidong avatar Jakob_Skelmose avatar Christophe Colly avatar Anukul avatar Sathish avatar Roi Mallo avatar Aleksey Savin avatar  avatar Zach Uy avatar  avatar  avatar  avatar Steven Braun avatar  avatar  avatar Miroslav Zivanovic avatar Clarence avatar  avatar  avatar Tom avatar Adrian Robinson avatar Shameel Arafin avatar Guilherme avatar Petr avatar Piyush avatar Naman Singhal avatar Thaweewat avatar George Brown avatar  avatar Lucas N. Pinto avatar  avatar Sercan Atalik avatar  avatar TSD avatar Carlo Baroni avatar Daniel  avatar  avatar Gallic_dev avatar  avatar Carson Dahlberg avatar JerryJi avatar Spectral Sequence avatar  avatar AlphaGao avatar Artin Mohammadi avatar Uzair Aftab avatar Maybe avatar  avatar  avatar Aayush Jain avatar Vyacheslav Arbuzov avatar

Watchers

Shameel Arafin avatar  avatar Kun Zhao avatar mrkre avatar  avatar Oleksandr Anufriyev avatar Hemu avatar  avatar Matas Pocevicius avatar MBounouar avatar  avatar Miko Planas avatar  avatar σ Δ avatar Santosh Poudel avatar zhangliang avatar

notebooks's Issues

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.