Giter VIP home page Giter VIP logo

bordercollielover / binance-data-downloader Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nonisich/binance-data-downloader

0.0 0.0 0.0 21 KB

This tool facilitates the seamless download and visualization of historical data for cryptocurrency pairs from the Binance exchange. Overcoming the 1500-bar limit per request, the tool allows users to efficiently download candlestick data for specified timeframes, ranging from days to years.

Python 100.00%

binance-data-downloader's Introduction

Binance Data Downloader

This code is a tool for downloading and visualizing historical data of cryptocurrency pairs from the Binance exchange. The code allows the user to get candlestick data on selected trading pairs for an unlimited or specified period of time to build candlestick charts.

A problem when downloading data from the Binance exchange is the limit of 1500 bars for a single request. This tool effectively overcomes this limitation by allowing the user to select the desired timeframe and download data for, for example, 1, 2 or 3 years much more efficiently and quickly. The result is a ready-made dataframe with complete data obtained from the exchange.

As an example of using this code, you can download the entire bitcoin history on a 5-minute timeframe for backtesting or analysis data.

Features

  • Obtain candlestick data for the selected cryptocurrency pair and time frame using Binance API.
  • Creating a spread dataframe from two assets
  • Building a candlestick chart for visual analysis of previously obtained data
  • Ability to save the obtained data in CSV format for further use or analysis.

How to run

  1. Specify your API and secret key in the keys.py file
  2. Run the main.py script to load the data and plot the graphs.
  3. Save the obtained data to CSV files for further analysis or use using the appropriate function

Images

Example of TRXUSDT asset data download and chart output from 2020 on 1 hour time frame.

newplot (6)

binance-data-downloader's People

Contributors

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