Discover Packages
github.com/amir-the-h/okex/v5
requests
market
package
Version:
v5.0.0-...-84a6732
Opens a new window with list of versions in this module.
Published: Sep 24, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
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,string"`
}
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 GetTrades struct {
InstId string `json:"instId"`
Limit int64 `json:"limit,omitempty,string"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.