Documentation
¶
Index ¶
Constants ¶
View Source
const ApiRateLimitRemaining = "X-RateLimit-Remaining"
Variables ¶
This section is empty.
Functions ¶
func IsApiQuestrade ¶
func NewApiQuestrade ¶
func NewApiQuestrade(apiKey, apiServer string, creds api.OAuthCredentials) api.StockApi
Types ¶
type SymbolQuote ¶
type SymbolQuote struct { Symbol string `json:"symbol"` SymbolId int `json:"symbolId"` Tier string `json:"tier"` BidPrice float64 `json:"bidPrice"` BidSize int `json:"bidSize"` AskPrice float64 `json:"askPrice"` AskSize int `json:"askSize"` LastTradePriceTrHrs float64 `json:"lastTradePriceTrHrs"` LastTradePrice float64 `json:"lastTracePrice"` LastTradeSize int `json:"lastTradeSize"` LastTradeTick string `json:"lastTradeTick"` LastTradeTime string `json:"lastTradeTime"` Volume int `json:"volume"` OpenPrice float64 `json:"openPrice"` HighPrice float64 `json:"highPrice"` LowPrice float64 `json:"lowPrice"` Delay int `json:"delay"` IsHalted bool `json:"isHalted"` }
func GetSymbolQuote ¶
func GetSymbolQuote(symbolId, apiKey, apiServer string) (*SymbolQuote, error)
type SymbolSearchMatch ¶
type SymbolSearchMatch struct { Symbol string `json:"symbol"` SymbolId int `json:"symbolId"` Description string `json:"description"` SecurityType string `json:"securityType"` ListingExchange string `json:"listingExchange"` IsTradable bool `json:"isTradable"` IsQuotable bool `json:"isQuotable"` Currency string `json:"currency"` }
func GetSymbolSearch ¶
func GetSymbolSearch(symbol, apiKey, apiServer string) (*SymbolSearchMatch, error)
Click to show internal directories.
Click to hide internal directories.