Coder Social home page Coder Social logo

trend-buddy's Introduction

Trend Buddy

An OpenSource Trading bot

References

Features

Data

  • Makes api calls to binance and fetches realtime data
  • Stores data in sqlite3 database
  • Provides endpoints to access the data from db

Remaining

  • Automate fetching and storing in db, or use websocket somehow
  • Use asyncio

Analysis

  • Get data from data app according to user's selection
  • Show candlestick chart from TradingView widget
  • Select favourite symbols from all available symbols
  • Use TA-Lib for technical analysis

Remaining

  • Generate latest strategies' value (eg. rsi, macd, etc.) and show it in same table

Bot

  • Take data from binance websocket
  • Automate using RQ-Worker
  • Take strategies and from analysis app and generate buy or sell calls

Remaining

  • Add order history in db

TODO

Idea

  • Use trading view to send buy and sell calls
  • Partial buy and sell
  • Predict stoploss
  • Use multiple indicators and give them priority or waitage
  • Macro analysis for specific sectors like IT, electronics, pharma, consumer, bank, etc

Import orders

  • Import csv files which are exported from brokers like Zerodha to populate the orders table

Profit and Loss Chart

  • Portfolio for showing overall Profit and Loss
  • Daily candlestick chart for profit and loss

Financial Calculator

  • Sip calculator, select index or equity, select time duration, select amount per month, select amount growth % per month, calculate the final return compared to the total amount invested
  • Cycle through daily, weekly, monthly candle data and check for candlestick patterns

Tools Used

Data fetching

Chart and Data Visualization

Backtesting

Installation

Install TA-Lib

  • Using conda
conda install -c conda-forge ta-lib
  • See this if not using conda

Python dependencies

pip install -r requirements.txt

trend-buddy's People

Contributors

rishav-singh-0 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.