Coder Social home page Coder Social logo

investments_manager's Introduction

Project Name: Cryptocurrency Trend Detector and Trader

Description

This project detects trends in cryptocurrency prices and makes automated trading decisions based on the detected trends. It fetches data from CoinAPI and interacts with the Binance API for trading (or the other brokers supported by CoinAPI && ccxt).

How It Works

The project follows these steps:

  1. Data Fetching: It fetches historical price data for cryptocurrencies from CoinAPI using REST API requests.

  2. Trend Detection: Based on the fetched data, the project detects whether the current trend in the cryptocurrency's price is an uptrend or a downtrend.

  3. Trading Decision:

    • If the trend shifts from an uptrend to a downtrend, it sells the cryptocurrency.
    • If the trend shifts from a downtrend to an uptrend, it buys the cryptocurrency.
  4. Trading Execution: The project interacts with the Binance API to execute trading orders.

Installation

  1. Clone the repository.
  2. Install dependencies:
    npm install axios ccxt dotenv
  3. Set up environment variables by creating a .env file and adding the following:
    BINANCE_ApiKey=your_binance_api_key
    BINANCE_SecretKey=your_binance_secret_key
    CoinAPI_Key=your_coinapi_key
    
  4. Run the script:
    node index.js

Requirements

  • Node.js
  • npm
  • Binance API key and secret key
  • CoinAPI key

Usage

The script fetches cryptocurrency data, detects trends, and makes trading decisions accordingly.

Support

For help or questions, please open an issue on GitHub.

Roadmap

  • Implement combining trends from different timeframes.
  • Enhance buying and selling strategies.
  • Implement buying and selling at the Break of Structure (BOS) using limit orders.

Contributing

Contributions are welcome. Please follow the guidelines outlined in the repository.

investments_manager's People

Contributors

l1zle avatar

Stargazers

 avatar

Watchers

 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.