Code Monkey home page Code Monkey logo

bitmex-xbtusd-history's People

Contributors

celeborn2bealive avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bitmex-xbtusd-history's Issues

CSV output

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 ?

How to get asc/desc date sorted data in CSV?

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?

Why This Way of working?

@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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.