Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilingItem ¶ added in v0.21.0
type FilingList ¶ added in v0.21.0
type FilingList struct {
Items []*FilingItem `json:"items"`
}
type OptionChainContract ¶ added in v0.28.0
type OptionChainContract struct {
Symbol string `json:"symbol"`
ExpiryDate string `json:"expiry_date"`
StrikePrice string `json:"strike_price"`
Direction string `json:"direction"`
OptionType string `json:"option_type"`
StandardAttr string `json:"standard_attr"`
DaysToExpiry int32 `json:"days_to_expiry"`
}
OptionChainContract is the raw wire type for a single option chain contract entry.
type OptionChainContractList ¶ added in v0.28.0
type OptionChainContractList struct {
List []*OptionChainContract `json:"list"`
}
OptionChainContractList is the response for QuoteContext.OptionChainInfoByDate (GET /v1/gemini/option/option_chain_list).
type OptionVolumeDaily ¶ added in v0.24.1
type OptionVolumeDaily struct {
Stats []*OptionVolumeDailyStat `json:"stats"`
}
OptionVolumeDaily contains a list of daily option volume stats
type OptionVolumeDailyStat ¶ added in v0.24.1
type OptionVolumeDailyStat struct {
Symbol string `json:"symbol"`
Timestamp string `json:"timestamp"`
TotalVolume string `json:"total_volume"`
TotalPutVolume string `json:"total_put_volume"`
TotalCallVolume string `json:"total_call_volume"`
PutCallVolumeRatio string `json:"put_call_volume_ratio"`
TotalOpenInterest string `json:"total_open_interest"`
TotalPutOpenInterest string `json:"total_put_open_interest"`
TotalCallOpenInterest string `json:"total_call_open_interest"`
PutCallOpenInterestRatio string `json:"put_call_open_interest_ratio"`
}
OptionVolumeDailyStat is a single daily option volume data point
type OptionVolumeStats ¶ added in v0.24.1
OptionVolumeStats contains total call/put volume for a security
type SecurityList ¶
type SecurityList struct {
List []*Security
}
type ShortPosition ¶ added in v0.24.1
type ShortPosition struct {
Timestamp string `json:"timestamp"`
Rate string `json:"rate"`
DaysToCover string `json:"days_to_cover"`
Close string `json:"close"`
}
ShortPosition is a single short interest data point
type ShortPositionStats ¶ added in v0.24.1
type ShortPositionStats struct {
Symbol string `json:"symbol"`
Data []*ShortPosition `json:"data"`
Sources int32 `json:"sources"`
}
ShortPositionStats contains short interest data for a security
type WatchedGroup ¶
type WatchedGroup struct {
Id int64 `json:"id,string"`
Name string `json:"name"`
Securites []*WatchedSecurity `json:"securities"`
}
type WatchedGroupList ¶
type WatchedGroupList struct {
Groups []*WatchedGroup `json:"groups"`
}
Click to show internal directories.
Click to hide internal directories.