Git Product home page Git Product logo

crypto-rtd's Introduction

crypto-rtd

Excel RTD server sourcing GDAX and BINANCE ticker data

The code is using the old .NET Framework 4.0 in order to allow it to run on Windows 7 machines.

Installation

  1. Clone the repository and go to its folder.

  2. Compile the code using Visual Studio, MSBuild or via this handy script file:

    build.cmd

  3. Register the COM server by running the following script in admin command prompt:

    register.cmd

Usage

Once the RTD server has been installed, you can use it from Excel via the RTD macro. This is the syntax:

  • =RTD("crypto",,"GDAX", instrument, field)
  • =RTD("crypto",,"BINANCE", instrument, field)
  • =RTD("crypto",,"BINANCE_DEPTH",instrument, field,depth) // depth is 0-9
  • =RTD("crypto",,"BINANCE_TRADE",instrument, field)
  • =RTD("crypto",,"BINANCE_CANDLE",instrument, interval, field) // interval is 0-11
  • =RTD("crypto",,"BINANCE_HISTORY",instrument) // not yet working

All currency pairs traded on GDAX are supported, including the main ones:

  • BTC-USD
  • ETH-USD
  • LTC-USD

All currency pairs traded on BINANCE are supported, including the main ones:

  • BTCUSDT
  • ETHUSDT
  • LTCUSDT

You can use the following fields for GDAX:

  • BID, ASK, LAST_SIZE, LAST_PRICE, LAST_SIDE
  • high_24h, low_24h, open_24h, volume_24h

You can use the following fields for BINANCE:

  • BINANCE: SYMBOL LOW HIGH CLOSE OPEN BID_SIZE BID SPREAD ASK ASK_SIZE VOL QUOTE_VOL TRADES PRICE% PRICE_CHANGE
  • BINANCE_24H: CLOSE OPEN +++ TODO
  • BINACE_TRADE: SYMBOL TRADE_ID PRICE QUANTITY BUYER_IS_MAKER IGNORE FIRST_ID LAST_ID TRADE_TIME
  • BINANCE_DEPTH: BID_DEPTH_SIZE BID_DEPTH
  • BINANCE_CANDLE: OPEN HIGH LOW CLOSE OPEN_TIME CLOSE_TIME FINAL QUOTE_VOL VOL TAKE_BUY_VOL TAKE_BUY_QUOTE_VOL INTERVAL TRADES Event Event_Time FIRST_ID LAST_ID
  • BINANCE_HISTORY: PRICE QUANTITY

Environment Variables: for BINANCE_HISTORY and coming APIs

  • BINANCE_API_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  • BINANCE_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Excel screenshot

crypto-rtd's People

Contributors

itsff avatar mdvx avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crypto-rtd's Issues

Websockets

Would this work with non-GDAX websockets? I wonder how do we change the websocket address.

Not able to Build the Project

I am not able to BUILD CryptoRtd project as is it requires 2 DLLs Binance.Net.dll & CryptoExchange.Net.dll
in my solution both projects (Binance.Net &CryptoExchange.Net ) are not available. due to this DLLs not getting generated for reference.
please provide either project code or DLL so that I can build the CryptoRtd and register on RTD server and run the application.
crypto-rtd

32bit or 64bit?

I have built and registered CryptoRtd.dll, no error messages. But it can't seem to work in Excel. Does it have to do with I'm using 64bit Excel?

Not getting updates

I used this tool for a couple of days and it was working prefect in Excel. Now it has been a few days I am not able to receive updates anymore. I tested that I can still connect to the websocket using a different program. In Excel the value I am getting is "<?>". So the communication between Excel and the RTD server is working. It seems to be the connection from the RTD server to the GDAX feed. The TestApp in the project is also not working and doesn't generate any error message.

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.