Skip to content

uasabi/bitcoin-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Bitcoin challenge

Write a small application that receives a stream of prices from Gdax and Bitstamp and computes the price spread between the two exchanges.

The code should be testable.

Example

The current price for BTC/USD on Bitstamp and Gdax is the following:

  • Gdax, BTC/USD 2364.35
  • Bitstamp BTC/USD 2349.96

The spread is the ratio between the two prices:

2364.35 / 2349.96 = 1.00612

The spread should be updated in real-time every time it is updated on either Gdax or Bitstamp.

Notes

You can use the public Websocket endpoints for prices:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published