Discover Packages
github.com/ParadigmFoundation/go-obm
exchange
gemini
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 13, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
NAME = "gemini"
FEED_URL = "wss://api.sandbox.gemini.com/v1/marketdata/"
)
type Event struct {
Type string `json:"type"`
Side string `json:"side"`
Price string `json:"price"`
Remaining string `json:"remaining"`
Delta string `json:"delta"`
Reason string `json:"reason"`
}
type Message struct {
Type string `json:"type"`
SocketSequence int `json:"socket_sequence"`
EventID int `json:"eventId"`
Timestampms int `json:"timestampms"`
Events []Event `json:"events"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.