https://github.com/bmoscon/bitmex_historical_scraper
Scrape historical data from Bitmex's AWS bucket
https://github.com/bmoscon/bitmex_historical_scraper
Last synced: about 1 year ago
JSON representation
Scrape historical data from Bitmex's AWS bucket
- Host: GitHub
- URL: https://github.com/bmoscon/bitmex_historical_scraper
- Owner: bmoscon
- License: mit
- Created: 2019-01-22T23:36:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T15:59:48.000Z (about 6 years ago)
- Last Synced: 2025-03-30T18:43:55.905Z (over 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 33
- Watchers: 4
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BITMEX Historical Data Scraper
Bitmex no longer offers historical trade data on their REST API. They do have the data in a public AWS bucket, which this scrapes and converts to CSV files (by year).
### Installation
1. Clone/download repository
2. Install requirements: `pip install -r requirements.txt`
### Usage
* `python scrape.py` - Scrape all available data
* `python scrape.py --start YYYYMMDD` - Scrape data from start date through yesterday
* `python scrape.py --start YYYYMMDD --end YYYYMMDD` - Scrape data from start date through end date (inclusive)
* `python scrape.py --end YYYYMMDD` - Scrape data from start of data through end date