ozlemekici / Backtesting_Binance

Historical data getting from Binance and backtesting using Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Historical Data Extraction from Binance


Code directory for pulling Historical Data of a pair from Binance with API and backtesting on downloaded data

You can run the code by typing your ApiKey and SecretKeys into the config file.


Pulls data for any pair you type into symbolList = ["BTCUSDT"]
Since csv name will be needed in backtesing, this part should be paid attention to.


When specifying the date range you want to extract, you should specify it like this: "1 January, 2022", "3 March, 2022"


The data is exported as ".csv"


Finally, the longer your date range, the longer the processing time will be, you should wait a bit.

About

Historical data getting from Binance and backtesting using Python


Languages

Language:Python 100.0%