메뉴 건너뛰기

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.
번호 제목 글쓴이 날짜 조회 수
56249 9 DeboraB25581946019524 2022.10.16 1
56248 Don’t Fall For This Make Money Horizon 5 Scam SantosHoliman2698 2022.10.16 1
56247 Why Sign Succeeds ErlindaS898101374 2022.10.16 1
56246 Cần Thơ Ngập Vì Triều Cường Cao Nhất Từ đầu Năm DianaDenning64392271 2022.10.16 1
56245 comprar Visualizações Tiktok TiffanyRoan9698 2022.10.16 1
56244 سئو چیست ؟ ShariMcswain0843 2022.10.16 1
56243 MIDI To Sheet Music Converter Online WandaFerrier515769 2022.10.16 1
56242 Bacot138 Praktis Roulette Newbie TrudiPort5696074874 2022.10.16 1
56241 The Greatest Guide To How Much Do Plumber Jobs Pay Per Hour In 2022? IveyVarley402907245 2022.10.16 1
56240 You Might Be Using A Infant! Tips To Help You Prosper During Your Pregnancy RenaldoWolfgram12611 2022.10.16 1
56239 سئو سایت،بهینه سازی سایت،SEO AimeeBix470161864 2022.10.16 1
56238 Six Tips For Kolkata Call Girls RoslynBirkbeck7920911 2022.10.16 1
56237 Top To Be Able To Use A Satellite Tv Dvr DeclanJennings145041 2022.10.16 1
56236 XNXX.COM - My Favorite Site! RenatoEdkins10427 2022.10.16 1
56235 Gerrard And Klopp Held Talks Before His Liverpool Return NoeMqt946696630 2022.10.16 1
56234 A Synopsis Of Sports Activities Therapeutic Massage IrisWilmer228118303 2022.10.16 1
56233 Millionaire Hot Seat RosalieTrethowan559 2022.10.16 1
56232 Escort For Revenue Natisha00S30314990832 2022.10.16 1
56231 سئو چیست ؟ Torri516422936845100 2022.10.16 1
56230 How To Read Guitar Tabs MaurineBonnor59 2022.10.16 1
위로