Giter Site home page Giter Site logo

m-marqx / inventory.retracement.bar.app Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 17.71 MB

A simple way to analyze the Inventory Retracement Bar strategy via a dashboard

Python 97.12% CSS 2.88%
bar cryptocurrency dash-plotly financial financial-markets inventory irb market python strategy retracement

inventory.retracement.bar.app's Introduction

PT-BR

Se você quiser ler em português basta clicar aqui

Initial Idea

The repository aims to create a model that collects data from Binance, the largest international exchange, using the python-binance library. Afterward, the data is processed to obtain the results of the Inventory Retracement Bar strategy, developed by Rob Hoffman. The strategy showed promise, as the author claims it has brought victories in various trading competitions. However, it was observed that the strategy's default settings yielded unsatisfactory results in the cryptocurrency market.

Objective

Create a model where the signal occurs when the wick of the candle is equal to or greater than 45% of the body of the candle.

Signal

Entry Signal

By default, a 20-period Simple Moving Average is used to indicate the trend. Although the author suggests seeking trades where the moving average has a 45-degree slope, this idea was discarded due to the subjectivity of the angle when zooming in on the chart.

62-degree

45-degree

Trading

The entry occurs when the candle breaks the maximum value of the candle that generated the signal. Although this reduces the total number of entries, it's not an issue due to the high number of signals in the setup.

Start

The target value depends on the chosen payoff, which is the amplitude of the signal candle, and the stop value should be at the signal candle's minimum or the lowest value of the last N candles. This example uses a Payoff of 2 and the stop at the minimum of the signal candle.

End

How to Use

To enhance result visualization, a Dashboard has been created using Dash, from the same team behind Plotly. The Dashboard comprises 2 pages: homepage and backtest, each with a specific objective. Both pages aim to provide users with a simple and easy way to customize and visualize results with different parameter values for the strategy.

Visit the homepage or backtest for detailed information on using each page of the Dashboard.

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.