Discover Packages
github.com/aiviaio/okex
requests
rest
market
package
Version:
v1.4.9
Opens a new window with list of versions in this module.
Published: Aug 17, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
type GetCandlesticks struct {
InstID string `json:"instId"`
After int64 `json:"after,omitempty,string"`
Before int64 `json:"before,omitempty,string"`
Limit int64 `json:"limit,omitempty,string"`
Bar okex .BarSize `json:"bar,omitempty"`
}
type GetIndexComponents struct {
Index string `json:"index"`
}
type GetIndexTickers struct {
InstID string `json:"instId,omitempty"`
QuoteCcy string `json:"quoteCcy,omitempty"`
}
type GetOrderBook struct {
InstID string `json:"instId"`
Sz int `json:"sz,omitempty,string"`
}
type GetTicker struct {
InstId string `json:"instId"`
}
type GetTrades struct {
InstID string `json:"instId"`
Limit int64 `json:"limit,omitempty,string"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.