Skip to content

jakemulf/dh-coinbase-websocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dh-coinbase-websocket

This project shows how to connect to a websocket and write the websocket's data to Deephaven

Launch

Simply run

docker-compose up

to launch the app

Deephaven IDE

In the Deephaven IDE (http://localhost:10000), you can call coinbase_websocket_connector() to create a table containing the websocket data. Here's a few examples

btc_feed = coinbase_websocket_connector(['BTC-USD'], ["matches"], ["last_match", "match"])
eth_feed = coinbase_websocket_connector(['ETH-USD'], ["matches"], ["last_match", "match"])
btc_eth_feed = coinbase_websocket_connector(['ETH-USD', 'BTC-USD'], ["matches"], ["last_match", "match"])

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published