Documentation ¶
Index ¶
- type BestPrice
- type Chart
- type Client
- func (cli *Client) Chart(symbolID string, oddLot bool) (*Response, error)
- func (cli *Client) Dealts(symbolID string, oddLot bool, limit int64, offset int64) (*Response, error)
- func (cli *Client) Meta(symbolID string, oddLot bool) (*Response, error)
- func (cli *Client) Quote(symbolID string, oddLot bool) (*Response, error)
- func (cli *Client) Volumes(symbolID string, oddLot bool) (*Response, error)
- type ClientOption
- type Data
- type Dealt
- type Info
- type Meta
- type Quote
- type QuoteOrder
- type QuotePrice
- type QuoteTotal
- type QuoteTrade
- type QuoteTrial
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewFugleClient ¶
func NewFugleClient(opts ClientOption) (Client, error)
type ClientOption ¶
type Meta ¶
type Meta struct { NameZhTw string Market string IndustryZhTw string PriceReference decimal.Decimal PriceHighLimit decimal.Decimal PriceLowLimit decimal.Decimal TradingUnit int CanDayBuySell bool CanDaySellBuy bool CanShortMargin bool CanShortLend bool Currency string IsNewlyCompiled bool IsTerminated bool IsSuspended bool TypeZhTw string Abnormal string }
type Quote ¶
type Quote struct { IsCurbing bool IsCurbingRise bool IsCurbingFall bool IsTrial bool IsOpenDelayed bool IsCloseDelayed bool IsHalting bool IsClosed bool Change decimal.Decimal ChangePercent float64 Amplitude float64 Total QuoteTotal Trial QuoteTrial Trade QuoteTrade Order QuoteOrder PriceHigh QuotePrice PriceLow QuotePrice PriceOpen QuotePrice PriceAvg QuotePrice PriceLimit int }
type QuoteTotal ¶
type QuoteTrade ¶
type QuoteTrial ¶
Click to show internal directories.
Click to hide internal directories.