Giter Site home page Giter Site logo

mahdirag / finta_backtest Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peerchemist/finta_backtest

0.0 0.0 0.0 85 KB

Framework for backtesting trading strategies in Python, based on the finta library.

License: GNU Lesser General Public License v3.0

Python 100.00%

finta_backtest's Introduction

finta_backtest

License: LGPL v3 Code style: black

Framework for backtesting trading strategies in Python, based on the finta library.

Why finta_backtest and not some other library?

I've decided to implement finta_backtest after trying out pretty much all of Python backtesting libraries I could find on github. Lockdown following COVID-19 pandemic probably had had some influence on my decisions as well. I've wanted to test out some trading strategies implemented using indicators found in finta library, and that required some modifications on libraries I could found. This however made me look at overly complex codebase of various libraries, and I was not in mood of modifying more than than 50 lines of code.

Finta_backtest is made to be ultra small, fast and very easy to modify. The first release has less than 250 lines of code.

Examples

See tests/test_unit.py.

Roadmap

Right now library is pretty much proof-of-concept. For the near future plan is to make it feature complete when compared to similar libs, after that focus will be on documentation and examples.

Contributing

  1. Fork it (https://github.com/peerchemist/finta_backtest/fork)
  2. Study how it's implemented.
  3. Create your feature branch (git checkout -b my-new-feature).
  4. Run black code formatter on the finta.py to ensure uniform code style.
  5. Commit your changes (git commit -am 'Add some feature').
  6. Push to the branch (git push origin my-new-feature).
  7. Create a new Pull Request.

finta_backtest's People

Contributors

peerchemist 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.