Gemini: Fix pair handling and upgrade websocket connection for public market data (#644)

* Fix Gemini pairs

* Overhaul websocket for marketdata v2

* Code cleanup + returns

* Address shazbert's and glorious's nits

* Go mod tidy
This commit is contained in:
Adrian Gallagher
2021-03-09 13:18:21 +11:00
committed by GitHub
parent 2292abce61
commit b30d79b52d
8 changed files with 666 additions and 327 deletions

View File

@@ -335,6 +335,7 @@ var (
PHX = NewCode("PHX")
GO = NewCode("GO")
PAX = NewCode("PAX")
PAXG = NewCode("PAXG")
EDO = NewCode("EDO")
WINGS = NewCode("WINGS")
NAV = NewCode("NAV")
@@ -1652,4 +1653,11 @@ var (
ZWD = NewCode("ZWD")
XETH = NewCode("XETH")
FX_BTC = NewCode("FX_BTC") // nolint // Cryptocurrency code
AAVE = NewCode("AAVE")
YFI = NewCode("YFI")
BAL = NewCode("BAL")
UMA = NewCode("UMA")
SNX = NewCode("SNX")
CRV = NewCode("CRV")
OXT = NewCode("OXT")
)