Git Product home page Git Product logo

coinbase-excel-add-in-function's Introduction

Coinbase and GDAX Excel Functions

This repo contains two Excel JavaScript Custom Functions that will pull the latest crypto currency prices from Coinbase or GDAX. They are modeled after the examples on the Excel Custom Functions Starter Repo.

Note: this add-in uses a publicly accessible REST APIs from Coinbase and GDAX, but the add-in itself is not affiliated with Coinbase or GDAX in any way. The author (Andrew Stegmaier) is an employee of Microsoft.

Usage

After the add-in is installed (see instructions below), it adds two functions to Excel: COINBASE.PRICE() and GDAX.PRICE. The syntax is:

=COINBASE.PRICE(<Base>, <Currency>)
=GDAX.PRICE(<Base>, <Currency>)

Where <Base> is the three-letter currency code that you want to check the price of, and <Currency> is the code for the currency you want that price expressed in. For example, to fetch the current price of Bitcoin in US Dollars from Coinbase, you would write:

=COINBASE.PRICE("BTC","USD")

To do the same thing, but with the mid-market price from GDAX, you would write:

=GDAX.PRICE("BTC","USD")

You can get see the list of currency codes that Coinbase currently supports by checking this REST endpoint. The same list for GDAX can be found at this endpoint.

Installation

  1. Currently (February 2018), Excel JavaScript Custom Functions are only available for preview in the latest builds of Excel for Windows. You need to join th Office Insider program, and install Office build number 8711 or later.
  2. Download manifest.xml from this repo.
  3. Sideload the manifest using the instructions found at https://aka.ms/sideload-addins. The JavaScript and HTML files found in the wwwroot folder of this repo are already hosted at https://excel-coinbase-prices.azurewebsites.net/.

coinbase-excel-add-in-function's People

Contributors

msftwarelab avatar

Watchers

 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.