Giter VIP home page Giter VIP logo

binance_data_crawler's Introduction

Binance Data Crawler

By running main.py, you can get a ohlcv data and appropriate action based on your setting in config.json. In the main.py, it is setted to future market data, but you can change it in you favor.

Downloader.py is for downloading ohlcv data using your binance api. You have to specify your binance api, your target symbol, data period, and data time frame.

Actor.py is for making a appropriate action based on your setting and ohlcv data. You have to specify time step of percent change, triggering percent change(%). Also, you have to choose one from ohlcvm(open, high, low, close, mean) which is used for calculating percent change. Mean is the average of high and low. Action is [1, 0, -1], which is [long, do nothing, short].

This data can be used for training auto trading bot for binance.

The graph below is a result of a data based on following setting

graph

{
    "key": {
        "api_key": "",
        "secret": ""
    },
    "data":{
        "symbol": "BTC/USDT",
        "since": "2022-11-24T00:00:00Z",
        "timeframe": "4h"
    },
    "policy":{
        "timestep": 5,
        "trigger": 1,
        "ohlcvm": "mean"
    }
}

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.