Coder Social home page Coder Social logo

highfrequencytrading's Introduction

HighFrequencyTrading

This repo contains all work on the High frequency trading project. In the main.py file we call all subclasses from other py files. These include fitting of GARCH models, specialGARCH models, GAS models,. Neural Networks, etc. Also all plotting is included. However, we have not included the high frequence data. We took a snapshot of the COVID period (highfreq) such that most of the plotting of highfreq data still works. We have included the daily data on realized volatilities and returns. Note that the code was designed to run in parallel to optimize many of the tasks. Especially the Bayesian estimation (MCMC) and the fitting (estimting MAE/RMSE) will not work well on a small machine. Note furthermore that our ANN / RNN was designed to run on GPU only. Running it on a system without GPU will thus not work. A fail-safe is implemented that breaks the function without error messages if no Tensorflow Enabled GPU was found.

Instructions: All code was already set to dummy mode, with less iterations to speed things up a bit

  1. Obviously, git pull the repo, the dev(elopment) and papers folders can be ignored

  2. run the main.py file in python3 from the root directory. For example: python3 main.py

  3. The first plots will appear very soon. Afterwards, it will become slower as we need to fit many models and run the Bayesian / MCMC analysis

  4. Enjoy! :-)

  5. In the dev folder, there is also still some interesting SAS code and results that were used to verify our own approaches

highfrequencytrading's People

Contributors

luukoudshoorn25 avatar willemjan9519 avatar melissahml avatar

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.