Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creds ¶
type Creds struct {
AgentSelection string `json:"Agent"`
ConsumerKey string `json:"ConsumerKey"`
ConsumerSecret string `json:"ConsumerSecret"`
Token string `json:"Token"`
TokenSecret string `json:"TokenSecret"`
UrlRedirect string `json:"UrlRedirect"`
AccessToken string `json:"AccessToken"`
RefreshToken string `json:"RefreshToken"`
ExpireTimestamp int64 `json:"ExpireTimestamp"`
RefreshExpireTimestamp int64 `json:"RefreshExpireTimestamp"`
ErrorState ErrorState `json:"ErrorState"`
}
type DatabaseRecords ¶
type DatabaseRecords struct {
Histories string `json:"Histories"`
Intradays string `json:"Intradays"`
StockQuotes string `json:"StockQuotes"`
StockStableQuotes string `json:"StockStableQuotes"`
OptionQuotes string `json:"OptionQuotes"`
OptionStableQuotes string `json:"OptionStableQuotes"`
LastID string `json:"LastID"`
More bool `json:"More"`
ErrorState ErrorState `json:"ErrorState"`
}
type ErrorState ¶
type Histories ¶
type Histories struct {
Histories []History `json:"History"`
ErrorState ErrorState `json:"ErrorState"`
}
type Intradays ¶
type Intradays struct {
Intradays []Intraday `json:"Intraday"`
ErrorState ErrorState `json:"ErrorState"`
}
type Stock ¶
type Stock struct {
Exchange string `json:"Exchange"`
ExchangeDescription string `json:"ExchangeDescription"`
DownloadStatus int `json:"DownloadStatus"`
HistoryStatus int `json:"HistoryStatus"`
HistoryTimestamp int64 `json:"HistoryTimstamp"`
IntradayStatus int `json:"IntradayStatus"`
IntradayState int `json:"IntradayState"`
IntradayTimestamp1Min int64 `json:"IntradayTimestamp1Min"`
IntradayTimestamp5Min int64 `json:"IntradayTimestamp5Min"`
IntradayTimestampTick int64 `json:"IntradayTimestampTick"`
Name string `json:"Name"`
OptionListTimestamp int64 `json:"OptionListTimestamp"`
OptionStatus int `json:"OptionStatus"`
QuotesStatus int `json:"QuotesStatus"`
StableQuotesStatus int `json:"StableQuotesStatus"`
Symbol string `json:"Symbol"`
Validation int `json:"Validation"`
ValidationTimestamp int64 `json:"ValidationTimestamp"`
}
type StocksResponse ¶
type StocksResponse struct {
rest.DefaultId
Stocks []Stock `json:"Stocks"`
ErrorState ErrorState `json:"ErrorState"`
}
func (*StocksResponse) RootURL ¶ added in v0.0.24
func (sr *StocksResponse) RootURL() string
Click to show internal directories.
Click to hide internal directories.