Giter Club home page Giter Club logo

Comments (1)

krijnsent avatar krijnsent commented on June 25, 2024

Hi Carlos,

if step 1 fails that means that the main issues is in ModWeb and has nothing to do with your authentication as that's only used in step 4. (Basically: the tests in that sheet build up from a simple raw reply to an authenticated processed one.). Somehow your connection to Coinbase doesn't resolve quickly, so it fails.
You could try to use the alternative method: go to WebRequestURL (in ModWeb) and uncomment 'Set objHTTP = CreateObject("MSXML2.XMLHTTP") and outcomment the 3 active lines above that. For me the CoinBase sheet works with my credentials, so I can't really reproduce your error :-(.

There is no real guide document, the main documentation is in the readme in this Github combined with the comments I put in the code.

In concept, the code works as follows for every exchange:

  • from the sheet, mainly the PublicExchangeName & PrivateExchange functions are called (both placed in ModExchExchangeName). As the name suggests, Public is the public part of the API (no credentials needed) and Private the private part (with credentials).
  • those functions in turn do some stuff, mainly building up the right API call info and are supported by a couple of blocks:
    -- ModJson & JsonConverter to process Json info
    -- ModWeb (function: WebRequestURL ) to send out information to the web call & receive a reply (raw JSON)
    -- sometimes ModHash for signing a request

Hope that helps, otherwise use F8 to step through the code and see where it crashes/goes to the wrong side of an IF statement.
Koen

from crypto_vba.

Related Issues (20)

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.