Giter VIP home page Giter VIP logo

history's Introduction

History

Build Status hex.pm version

Download and warehouse historical trading data

Install

Add history to your list of dependencies in mix.exs

def deps do
  [
    {:history, "~> 0.0.23"}
  ]
end

Usage

$ docker-compose up

Visit history.localhost

When running the application with docker-compose you will need to enter the basic auth development credentials:

username: admin
password: password

Requirements

history requires Elixir 1.12+ & Erlang/OTP 22+

Features

Import Products From Tai

import-tai-products

Download Historical Venue Data

filter-predicted-funding-rate-job

predicted-funding-rate-download

Visualize & Explore Data for Market Insights

home

gainers-and-losers

swap-funding-rates

Venues

Venues Trades Candles Funding Rates Predicted Funding Rates Lending Rates
FTX [x] [x] [x] [x] [x]
OkEx [ ] [ ] [ ] [ ] [ ]
BitMEX [ ] [ ] [ ] [ ] [ ]
Binance [ ] [ ] [ ] [ ] [ ]
Deribit [ ] [ ] [ ] [ ] [ ]
GDAX [ ] [ ] [ ] [ ] [ ]
Huobi [ ] [ ] [ ] [ ] [ ]
Bybit [ ] [ ] [ ] [ ] [ ]
bit.com [ ] [ ] [ ] [ ] [ ]
Bitfinex [ ] [ ] [ ] [ ] [ ]
Kraken [ ] [ ] [ ] [ ] [ ]
CME [ ] [ ] [ ] [ ] [ ]
Phemex [ ] [ ] [ ] [ ] [ ]
BTSE [ ] [ ] [ ] [ ] [ ]
KuCoin [ ] [ ] [ ] [ ] [ ]
BitMax [ ] [ ] [ ] [ ] [ ]
MEXC [ ] [ ] [ ] [ ] [ ]
PrimeXBT [ ] [ ] [ ] [ ] [ ]
Gate.io [ ] [ ] [ ] [ ] [ ]
Coinflex [ ] [ ] [ ] [ ] [ ]
bitFlyer [ ] [ ] [ ] [ ] [ ]

Development

Initial setup:

  • Installs hex and npm dependencies
  • Generates migrations for history, workbench and tai
  • Runs migrations
  • Seeds database
$ docker-compose up db
$ mix setup
$ mix phx.server

Test

$ docker-compose up db
$ mix test

Ecto Database

Reset drops the db, creates a new db & runs the migrations

$ mix ecto.reset

Migrate up

$ mix ecto.migrate

Migrate down

# Last migration
$ mix ecto.rollback
# Last 3 migrations
$ mix ecto.rollback -n 3

Help Wanted :)

If you think this history thing might be worthwhile and you don't see a feature or venue listed we would love your contributions to add them! Feel free to drop us an email or open a Github issue.

Authors

License

history is released under the MIT license

history's People

Contributors

dependabot[bot] avatar rupurt avatar

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.