Git Product home page Git Product logo

coinbaseproexchange.jl's Issues

Switch to new Coinbase API

Although the old Coinbase Pro API endpoints still seem to work, they might get deprecated soon. We should switch to the new endpoints and URL as described here.

Fix documentation

The newly added plot functions do not appear in the stable documentation.

Plot historical price data

It will be more informative to create plots of historical price vs time. UnicodePlots.jl can be used to achieve this right within the REPL.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Improve error logging

Instead of using @info in show_historical_data, we should throw an explicit error when unable to fetch historical data. Current implementation causes the function to return an empty DataFrame, which gives a missing column error later in the sequence.

julia> plot_historical_price("STORJ-EUR", 86400)
[ Info: 404 Not Found - Check if the pair ID is valid
ERROR: ArgumentError: column name "time" not found in the data frame since it has no columns
Stacktrace:
 [1] lookupname
   @ ~/.julia/packages/DataFrames/58MUJ/src/other/index.jl:410 [inlined]
 [2] getindex
   @ ~/.julia/packages/DataFrames/58MUJ/src/other/index.jl:422 [inlined]
 [3] getindex(df::DataFrames.DataFrame, ::typeof(!), col_ind::Symbol)
   @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/dataframe/dataframe.jl:557
 [4] plot_historical_price(pair::String, interval::Int64)
   @ CoinbaseProExchange ~/.julia/packages/CoinbaseProExchange/ZSSb7/src/plotpublic.jl:42
 [5] top-level scope
   @ REPL[35]:1

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.