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 string `json:"DownloadStatus"`
HasOptions bool `json:"HasOptions"`
HistoryStatus string `json:"HistoryStatus"`
IntradayHistoryStatus string `json:"IntradayHistoryStatus"`
IntradayHistoryState string `json:"IntradayHistoryState"`
Name string `json:"Name"`
QuotesStatus string `json:"QuotesStatus"`
StableQuotesStatus string `json:"StableQuotesStatus"`
Symbol string `json:"Symbol"`
Validation string `json:"Validation"`
ValidationTimestamp int64 `json:"ValidationTimestamp"`
}
type StocksResponse ¶
type StocksResponse struct {
Stocks []Stock `json:"Stocks"`
ErrorState ErrorState `json:"ErrorState"`
}
Click to show internal directories.
Click to hide internal directories.