celeborn2bealive / bitmex-xbtusd-history Goto Github PK
View Code? Open in Web Editor NEWOHLCV history of XBTUSD bitmex contract, with python scripts to update it.
OHLCV history of XBTUSD bitmex contract, with python scripts to update it.
I am trying to get a single csv file of the 1m data, i already merged it with your merge.py script and now try to read it with the reader.py ... unfortunately the reader.py does not output anything. As from the json that got merged i see i would have to add a timestamp per step or is there a more easy way to convert the merged.json file to a CSV with time,open,high,low,close ?
Hi, I can able to run csv_convert.py script and I got the combined data(date, open, close, high, low, volume) in separate CSV file. But the problem is, the data in a new CSV file are not sorted based on the date. For example, I want the data to be in this order...
Date
2018-06-10
2018-06-11
2018-06-12
.
.
.
.
2018-06-17
But when I generate the new CSV from the python script, the date order goes like
2018-06-10
2018-04-25
2018-07-29
2017-08-12.
Is there any solution for this scenario?
@Celeborn2BeAlive
Hi
First of all, you don't know how much you saved me on time and effort by this repository. I really appreciate your job.
But, looking at the json file the very first time, I was thinking like, WHY !?
I mean, if you would simply export candle info to csv files, that would be more than enough ! honestly, you didn't save that much space by serializing the data this way !
Another question I asked myself : WHY hard code the pair in between the lines? I mean, if I want to, I can easily look into the code and change XBTUSD to ETHUSD, but, wouldn't it be better to some how produce a way for use to identify this? then we could use the same code for another market.
Now, to my next question and actually it is a feature request.
Expend the code to work with Binance side by side bitmex please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.