메뉴 건너뛰기

XEDITION

Board

Binance cryptocurrency exchange download.
Download Crypto-Currency Data.
This is the starting point of a python package to automatically download data and update database with crypto-currency data (bitcoin, ether, litecoin, etc.) from different API exchanges (allow only Binance, Bitmex, Bitfinex, GDAX, Kraken and Poloniex for the moment).
The dccd package allow you two main methods to download data. The first one is recommended to download data at high frequency ( minutely or tick by tick ), and the second one is recommended to download data at a lower frequency ( hourly or daily ):
Continuous Downloader dccd.continuous_dl : Download and update continuously data (orderbook, trades tick by tick, ohlc, etc) and save it in a database. Currently only support Bitfinex and Bitmex exchanges .
Historical Downloader dccd.histo_dl : Download historical data (ohlc, trades, etc.) and save it. Currently only support binance x kunuleco, GDax, Kraken and Poloniex exchanges .
The 'dccd.histo_dl' module contains a main class and four classes to download and update data for each exchange, and a module 'date_time' to manage specific time format needed for each API.
The four classes to download historical data are FromBinance , FromGDax , FromKraken and FromPoloniex . All have the same methods and almost the same parameters:
__init__(path, crypto, span, fiat(optional), form(optional)) initialisation with path is the path where save the data (string), crypto is a crypto currency (string) and span is the interval time between each observation in seconds (integer) or can be a string as 'hourly', 'daily', etc. (see details on the doc string). The optional parameters are fiat the second currency (default is 'USD' and 'USDT' for poloniex and binance) and form the format to save the data (default is 'xlsx').
import_data(start, end) download data with start and end the timestamp (integer) or the date and time (string as 'yyyy-mm-dd hh:mm:ss'), respectively of the first observation and the last observation (default are special parameters start='last' allow the last data saved and end='now' allow the last observation available). Exclusion: Kraken don't allow the end parameter and provide only the thousand last observations.
save(form(optional), by(optional)) save the data with form the format of the saved data (default is 'xlsx') and by is the "size" of each saved file (default is 'Y' as an entire year). Exclusion: This optional parameters are in progress, let the default parameter for the moment, other are not allow.
get_data() returns the data frame without any parameter.
번호 제목 글쓴이 날짜 조회 수
53790 5 Data Strategy Tips For Creating A Powerful MDM Program DemetraGoodenough402 2023.05.12 1
53789 Thor: Love And Thunder Is Number One At The Box Office DaniellaF996212 2023.05.12 1
53788 Three Closely-Guarded In Kolkata Secrets Explained In Explicit Detail Margarito169313 2023.05.12 1
53787 Rent A Car Bucuresti Otopeni Opel Corsa ( Oferta 2021 ) - Rent-4U (2) IsobelLonsdale90 2023.05.12 1
53786 Top Six Running Buying Beginners BrandonSaldivar0173 2023.05.12 1
53785 Skin Tag Remover - A Proven Home Remedy GeorgeCooley55661334 2023.05.12 1
53784 Booking An Air Port Transfer Associated With CharleneLedet3366 2023.05.12 1
53783 How To Select The Right Belt Conveyor Or Conveyor Belt In 3 Easy Steps MarshaHuonDeKermadec 2023.05.12 1
53782 Цена На Продвижение Сайта RenateBlackmore70766 2023.05.12 1
53781 Pontiac Sunfire Is Really A Compact Car That Was Made By General Motors JacquesJeffers77 2023.05.12 1
53780 4 Actionable Recommendations On Littleyaksa.yodev.net And Twitter. LupeEichhorn241509 2023.05.11 1
53779 Иммигрировать В Австралию В Качестве Копирайтера В 2023 Году KarenSchwing078 2023.05.11 1
53778 New York City Industry - Getting The Best Food Around ValShields74631306363 2023.05.11 1
53777 MANGGA2BET Situs Judi Slot Online Gacor Terbaru Gampang Menang Maxwin Hari Ini AlexisTruchanas9 2023.05.11 1
53776 How To Generate Income Online With Affiliate Marketing - Talk To Them! JenniferI6431869919 2023.05.11 1
53775 Coinbar CathrynNuzzo32418930 2023.05.11 1
53774 Jhandewalan Escorts For Money HeribertoOrsini5 2023.05.11 1
53773 Limber Up That System By Using A Healthier Massage! EricScheffler8219 2023.05.11 1
53772 Great Low Carb Diet Recipe For Snacks And Party Platters Annett0180697497 2023.05.11 1
53771 Nature's Fury - Time For Check Your Insurance SaulGroves7846931 2023.05.11 1
위로