coinbaseprowebsocket

command module
v0.0.0-...-1960ff7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

README

coinbaseprowebsocket

Quick and dirty websocket example based off https://github.com/preichenberger/go-coinbasepro

Highlights:

  • TCP Server and Listener for calculations and processing
  • Use this example to start your crytpo trading app, and save yourself a headache from unexpected disconnects

Usage

$make build
$chmod +x run.sh
$bash run.sh

Output

[{market:BTC-USD,price:18282.34,size:0.1,side:buy,bestBid:18279.05,bestAsk:18283.99,tm:1607627963}]
[{market:BTC-USD,price:18283.99,size:0.17330283,side:buy,bestBid:18279.05,bestAsk:18283.99,tm:1607627963}]

To DO

  • Technical Indicators
  • K-Lines

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL