Skip to content

Historical data getting from Binance and backtesting using Python

Notifications You must be signed in to change notification settings

ozlemekici/Backtesting_Binance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Languages