Using Binance's API, this script obtains the historical price data of a specified asset, given the time range and time frame of interest as inputs. This price data is then parsed in to a dataframe ready for use in backtesting trading strategies or data visualisation.
💰 Attain historical price data for a wide range of assets on Binance
🏦 Data source for backtesting trading strategies
🧾 Further develop knowledge of Matplotlib and Pandas dataframes
🤖 Learn how to interact with Binance's API and understand it's limitations
☑️ Develop customisable data source for use in trading strategy backtesting
Example function call:
get_binance_data('ETHUSDT','1h', dt.datetime(2020,1,1), dt.datetime(2020,2,1))
This call would return a dataframe containing the price data for the Ethereum / USD Tether pair on Binance between the 1st of January 2020 and the 1st of February 2020.
Distributed under the MIT License. See LICENSE
for more information.
Twitter - @TraderTDF
LinkedIn - https://www.linkedin.com/in/RAMWatson/
Project Link: https://github.com/Elisik/Binance-API-Price-Data-Interface