Python Package forked from bta-lib and based on pandas.
View Test
·
Report Bug
·
Request Feature
This is a package that fix some compatibility problems presented on bta-lib with the new version of numpy and pandas.
bta-lib
is pandas
based technical analysis library and part of the
backtrader
family.
Author of bta-lib: Daniel Rodriguez Original github: https://github.com/mementum/bta-lib
This project was builded with the next technologies.
Follow the next steps:
- Setup the project:
python setup.py sdist
- Build the package:
python setup.py build
- Install the package
python setup.py install
- Install the package using pip.
pip install eta-lib
Just need to use pip with git command:
pip install git+https://github.com/estebanvz/eta-lib.git
Get the keys from API Binance:
You can use the package using the api_key and api_secret from binance API. Also you could download the package crypo_price to download data from Binance API. Crypto Price Package
import os
from decouple import config
from crypto_price import CryptoDataExtractor
from eta-lib import CryptoDataTransformation
API_KEY = config("API_KEY")
API_SECRET = config("API_SECRET")
extractor = CryptoDataExtractor()
extractor.from_binance(api_key=API_KEY,api_secret=API_SECRET,time_in_hours=24*10)
transformer = CryptoDataTransformation()
transformer.readDataset()
Distributed under the MIT License. See LICENSE
for more information.
- Main Page: https://btalib.backtrader.com/
- Documentation: https://btalib.backtrader.com/introduction/
- Community: https://community.backtrader.com/category/10/bta-lib
- GitHub Repo: https://github.com/mementum/bta-lib
Esteban Vilca - @ds_estebanvz - esteban.wilfredo.g@gmail.com
Project Link: https://github.com/estebanvz/eta-lib