gotrade: github.com/cyanly/gotrade/proto/pricing Index | Files

package pricing

import "github.com/cyanly/gotrade/proto/pricing"

Package pricing is a generated protocol buffer package.

It is generated from these files:

pricing/pricing.proto

It has these top-level messages:

Quote
QuoteInitialRequest
QuoteInitialResponse

Index

Package Files

pricing.pb.go

type Quote Uses

type Quote struct {
    // Reference data
    Isin            *string  `protobuf:"bytes,1,opt,name=isin" json:"isin,omitempty"`
    Sedol           *string  `protobuf:"bytes,2,opt,name=sedol" json:"sedol,omitempty"`
    Description     *string  `protobuf:"bytes,10,opt,name=description" json:"description,omitempty"`
    Crncy           *string  `protobuf:"bytes,11,opt,name=crncy" json:"crncy,omitempty"`
    PxTradeLotSize  *float64 `protobuf:"fixed64,12,opt,name=px_trade_lot_size" json:"px_trade_lot_size,omitempty"`
    RoundLot        *float64 `protobuf:"fixed64,13,opt,name=round_lot" json:"round_lot,omitempty"`
    ExchCode        *string  `protobuf:"bytes,14,opt,name=exch_code" json:"exch_code,omitempty"`
    PrimExch        *string  `protobuf:"bytes,15,opt,name=prim_exch" json:"prim_exch,omitempty"`
    Expiry          *string  `protobuf:"bytes,16,opt,name=expiry" json:"expiry,omitempty"`
    Multiplier      *string  `protobuf:"bytes,17,opt,name=multiplier" json:"multiplier,omitempty"`
    TickSize        *float64 `protobuf:"fixed64,18,opt,name=tick_size" json:"tick_size,omitempty"`
    OpenInterest    *int32   `protobuf:"varint,19,opt,name=open_interest" json:"open_interest,omitempty"`
    FirstNoticeDate *string  `protobuf:"bytes,20,opt,name=first_notice_date" json:"first_notice_date,omitempty"`
    Symbol          *string  `protobuf:"bytes,21,opt,name=symbol" json:"symbol,omitempty"`
    SymbolRoot      *string  `protobuf:"bytes,22,opt,name=symbol_root" json:"symbol_root,omitempty"`
    Margin          *float64 `protobuf:"fixed64,23,opt,name=margin" json:"margin,omitempty"`
    PriceScale      *float64 `protobuf:"fixed64,24,opt,name=price_scale" json:"price_scale,omitempty"`
    Country         *string  `protobuf:"bytes,25,opt,name=country" json:"country,omitempty"`
    // level 1 market data
    LastPrice     *float64 `protobuf:"fixed64,100,opt,name=last_price" json:"last_price,omitempty"`
    SizeLastTrade *int32   `protobuf:"varint,101,opt,name=size_last_trade" json:"size_last_trade,omitempty"`
    Bid           *float64 `protobuf:"fixed64,102,opt,name=bid" json:"bid,omitempty"`
    BidSize       *int32   `protobuf:"varint,103,opt,name=bid_size" json:"bid_size,omitempty"`
    Ask           *float64 `protobuf:"fixed64,104,opt,name=ask" json:"ask,omitempty"`
    AskSize       *int32   `protobuf:"varint,105,opt,name=ask_size" json:"ask_size,omitempty"`
    SpreadBa      *float64 `protobuf:"fixed64,106,opt,name=spread_ba" json:"spread_ba,omitempty"`
    High          *float64 `protobuf:"fixed64,107,opt,name=high" json:"high,omitempty"`
    Low           *float64 `protobuf:"fixed64,108,opt,name=low" json:"low,omitempty"`
    Open          *float64 `protobuf:"fixed64,109,opt,name=open" json:"open,omitempty"`
    Close         *float64 `protobuf:"fixed64,110,opt,name=close" json:"close,omitempty"`
    Volume        *int64   `protobuf:"varint,111,opt,name=volume" json:"volume,omitempty"`
    BidDatetime   *string  `protobuf:"bytes,112,opt,name=bid_datetime" json:"bid_datetime,omitempty"`
    AskDatetime   *string  `protobuf:"bytes,113,opt,name=ask_datetime" json:"ask_datetime,omitempty"`
    LastDatetime  *string  `protobuf:"bytes,114,opt,name=last_datetime" json:"last_datetime,omitempty"`
    // level 2 market data
    Bid1             *float64 `protobuf:"fixed64,201,opt,name=bid1" json:"bid1,omitempty"`
    Bid1Size         *int32   `protobuf:"varint,202,opt,name=bid1_size" json:"bid1_size,omitempty"`
    Bid2             *float64 `protobuf:"fixed64,203,opt,name=bid2" json:"bid2,omitempty"`
    Bid2Size         *int32   `protobuf:"varint,204,opt,name=bid2_size" json:"bid2_size,omitempty"`
    Bid3             *float64 `protobuf:"fixed64,205,opt,name=bid3" json:"bid3,omitempty"`
    Bid3Size         *int32   `protobuf:"varint,206,opt,name=bid3_size" json:"bid3_size,omitempty"`
    Bid4             *float64 `protobuf:"fixed64,207,opt,name=bid4" json:"bid4,omitempty"`
    Bid4Size         *int32   `protobuf:"varint,208,opt,name=bid4_size" json:"bid4_size,omitempty"`
    Bid5             *float64 `protobuf:"fixed64,209,opt,name=bid5" json:"bid5,omitempty"`
    Bid5Size         *int32   `protobuf:"varint,210,opt,name=bid5_size" json:"bid5_size,omitempty"`
    Ask1             *float64 `protobuf:"fixed64,211,opt,name=ask1" json:"ask1,omitempty"`
    Ask1Size         *int32   `protobuf:"varint,212,opt,name=ask1_size" json:"ask1_size,omitempty"`
    Ask2             *float64 `protobuf:"fixed64,213,opt,name=ask2" json:"ask2,omitempty"`
    Ask2Size         *int32   `protobuf:"varint,214,opt,name=ask2_size" json:"ask2_size,omitempty"`
    Ask3             *float64 `protobuf:"fixed64,215,opt,name=ask3" json:"ask3,omitempty"`
    Ask3Size         *int32   `protobuf:"varint,216,opt,name=ask3_size" json:"ask3_size,omitempty"`
    Ask4             *float64 `protobuf:"fixed64,217,opt,name=ask4" json:"ask4,omitempty"`
    Ask4Size         *int32   `protobuf:"varint,218,opt,name=ask4_size" json:"ask4_size,omitempty"`
    Ask5             *float64 `protobuf:"fixed64,219,opt,name=ask5" json:"ask5,omitempty"`
    Ask5Size         *int32   `protobuf:"varint,220,opt,name=ask5_size" json:"ask5_size,omitempty"`
    XXX_unrecognized []byte   `json:"-"`
}

func NewPopulatedQuote Uses

func NewPopulatedQuote(r randyPricing, easy bool) *Quote

func (*Quote) Equal Uses

func (this *Quote) Equal(that interface{}) bool

func (*Quote) GetAsk Uses

func (m *Quote) GetAsk() float64

func (*Quote) GetAsk1 Uses

func (m *Quote) GetAsk1() float64

func (*Quote) GetAsk1Size Uses

func (m *Quote) GetAsk1Size() int32

func (*Quote) GetAsk2 Uses

func (m *Quote) GetAsk2() float64

func (*Quote) GetAsk2Size Uses

func (m *Quote) GetAsk2Size() int32

func (*Quote) GetAsk3 Uses

func (m *Quote) GetAsk3() float64

func (*Quote) GetAsk3Size Uses

func (m *Quote) GetAsk3Size() int32

func (*Quote) GetAsk4 Uses

func (m *Quote) GetAsk4() float64

func (*Quote) GetAsk4Size Uses

func (m *Quote) GetAsk4Size() int32

func (*Quote) GetAsk5 Uses

func (m *Quote) GetAsk5() float64

func (*Quote) GetAsk5Size Uses

func (m *Quote) GetAsk5Size() int32

func (*Quote) GetAskDatetime Uses

func (m *Quote) GetAskDatetime() string

func (*Quote) GetAskSize Uses

func (m *Quote) GetAskSize() int32

func (*Quote) GetBid Uses

func (m *Quote) GetBid() float64

func (*Quote) GetBid1 Uses

func (m *Quote) GetBid1() float64

func (*Quote) GetBid1Size Uses

func (m *Quote) GetBid1Size() int32

func (*Quote) GetBid2 Uses

func (m *Quote) GetBid2() float64

func (*Quote) GetBid2Size Uses

func (m *Quote) GetBid2Size() int32

func (*Quote) GetBid3 Uses

func (m *Quote) GetBid3() float64

func (*Quote) GetBid3Size Uses

func (m *Quote) GetBid3Size() int32

func (*Quote) GetBid4 Uses

func (m *Quote) GetBid4() float64

func (*Quote) GetBid4Size Uses

func (m *Quote) GetBid4Size() int32

func (*Quote) GetBid5 Uses

func (m *Quote) GetBid5() float64

func (*Quote) GetBid5Size Uses

func (m *Quote) GetBid5Size() int32

func (*Quote) GetBidDatetime Uses

func (m *Quote) GetBidDatetime() string

func (*Quote) GetBidSize Uses

func (m *Quote) GetBidSize() int32

func (*Quote) GetClose Uses

func (m *Quote) GetClose() float64

func (*Quote) GetCountry Uses

func (m *Quote) GetCountry() string

func (*Quote) GetCrncy Uses

func (m *Quote) GetCrncy() string

func (*Quote) GetDescription Uses

func (m *Quote) GetDescription() string

func (*Quote) GetExchCode Uses

func (m *Quote) GetExchCode() string

func (*Quote) GetExpiry Uses

func (m *Quote) GetExpiry() string

func (*Quote) GetFirstNoticeDate Uses

func (m *Quote) GetFirstNoticeDate() string

func (*Quote) GetHigh Uses

func (m *Quote) GetHigh() float64

func (*Quote) GetIsin Uses

func (m *Quote) GetIsin() string

func (*Quote) GetLastDatetime Uses

func (m *Quote) GetLastDatetime() string

func (*Quote) GetLastPrice Uses

func (m *Quote) GetLastPrice() float64

func (*Quote) GetLow Uses

func (m *Quote) GetLow() float64

func (*Quote) GetMargin Uses

func (m *Quote) GetMargin() float64

func (*Quote) GetMultiplier Uses

func (m *Quote) GetMultiplier() string

func (*Quote) GetOpen Uses

func (m *Quote) GetOpen() float64

func (*Quote) GetOpenInterest Uses

func (m *Quote) GetOpenInterest() int32

func (*Quote) GetPriceScale Uses

func (m *Quote) GetPriceScale() float64

func (*Quote) GetPrimExch Uses

func (m *Quote) GetPrimExch() string

func (*Quote) GetPxTradeLotSize Uses

func (m *Quote) GetPxTradeLotSize() float64

func (*Quote) GetRoundLot Uses

func (m *Quote) GetRoundLot() float64

func (*Quote) GetSedol Uses

func (m *Quote) GetSedol() string

func (*Quote) GetSizeLastTrade Uses

func (m *Quote) GetSizeLastTrade() int32

func (*Quote) GetSpreadBa Uses

func (m *Quote) GetSpreadBa() float64

func (*Quote) GetSymbol Uses

func (m *Quote) GetSymbol() string

func (*Quote) GetSymbolRoot Uses

func (m *Quote) GetSymbolRoot() string

func (*Quote) GetTickSize Uses

func (m *Quote) GetTickSize() float64

func (*Quote) GetVolume Uses

func (m *Quote) GetVolume() int64

func (*Quote) GoString Uses

func (this *Quote) GoString() string

func (*Quote) Marshal Uses

func (m *Quote) Marshal() (data []byte, err error)

func (*Quote) MarshalTo Uses

func (m *Quote) MarshalTo(data []byte) (n int, err error)

func (*Quote) ProtoMessage Uses

func (*Quote) ProtoMessage()

func (*Quote) Reset Uses

func (m *Quote) Reset()

func (*Quote) Size Uses

func (m *Quote) Size() (n int)

func (*Quote) String Uses

func (this *Quote) String() string

func (*Quote) Unmarshal Uses

func (m *Quote) Unmarshal(data []byte) error

func (*Quote) VerboseEqual Uses

func (this *Quote) VerboseEqual(that interface{}) error

type QuoteInitialRequest Uses

type QuoteInitialRequest struct {
    Symbol *string `protobuf:"bytes,1,req,name=symbol" json:"symbol,omitempty"`
    // options
    Exchange           *string `protobuf:"bytes,5,opt,name=exchange" json:"exchange,omitempty"`
    IncludeOptionChain *bool   `protobuf:"varint,6,opt,name=include_option_chain" json:"include_option_chain,omitempty"`
    // entitlements
    Source           *string `protobuf:"bytes,50,opt,name=source" json:"source,omitempty"`
    User             *string `protobuf:"bytes,51,opt,name=user" json:"user,omitempty"`
    UserId           *int32  `protobuf:"varint,52,opt,name=user_id" json:"user_id,omitempty"`
    Machine          *string `protobuf:"bytes,53,opt,name=machine" json:"machine,omitempty"`
    XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedQuoteInitialRequest Uses

func NewPopulatedQuoteInitialRequest(r randyPricing, easy bool) *QuoteInitialRequest

func (*QuoteInitialRequest) Equal Uses

func (this *QuoteInitialRequest) Equal(that interface{}) bool

func (*QuoteInitialRequest) GetExchange Uses

func (m *QuoteInitialRequest) GetExchange() string

func (*QuoteInitialRequest) GetIncludeOptionChain Uses

func (m *QuoteInitialRequest) GetIncludeOptionChain() bool

func (*QuoteInitialRequest) GetMachine Uses

func (m *QuoteInitialRequest) GetMachine() string

func (*QuoteInitialRequest) GetSource Uses

func (m *QuoteInitialRequest) GetSource() string

func (*QuoteInitialRequest) GetSymbol Uses

func (m *QuoteInitialRequest) GetSymbol() string

func (*QuoteInitialRequest) GetUser Uses

func (m *QuoteInitialRequest) GetUser() string

func (*QuoteInitialRequest) GetUserId Uses

func (m *QuoteInitialRequest) GetUserId() int32

func (*QuoteInitialRequest) GoString Uses

func (this *QuoteInitialRequest) GoString() string

func (*QuoteInitialRequest) Marshal Uses

func (m *QuoteInitialRequest) Marshal() (data []byte, err error)

func (*QuoteInitialRequest) MarshalTo Uses

func (m *QuoteInitialRequest) MarshalTo(data []byte) (n int, err error)

func (*QuoteInitialRequest) ProtoMessage Uses

func (*QuoteInitialRequest) ProtoMessage()

func (*QuoteInitialRequest) Reset Uses

func (m *QuoteInitialRequest) Reset()

func (*QuoteInitialRequest) Size Uses

func (m *QuoteInitialRequest) Size() (n int)

func (*QuoteInitialRequest) String Uses

func (this *QuoteInitialRequest) String() string

func (*QuoteInitialRequest) Unmarshal Uses

func (m *QuoteInitialRequest) Unmarshal(data []byte) error

func (*QuoteInitialRequest) VerboseEqual Uses

func (this *QuoteInitialRequest) VerboseEqual(that interface{}) error

type QuoteInitialResponse Uses

type QuoteInitialResponse struct {
    ErrorCode        *int32  `protobuf:"varint,1,opt,name=error_code" json:"error_code,omitempty"`
    ErrorMessage     *string `protobuf:"bytes,2,opt,name=error_message" json:"error_message,omitempty"`
    Quote            *Quote  `protobuf:"bytes,8,opt,name=quote" json:"quote,omitempty"`
    XXX_unrecognized []byte  `json:"-"`
}

func NewPopulatedQuoteInitialResponse Uses

func NewPopulatedQuoteInitialResponse(r randyPricing, easy bool) *QuoteInitialResponse

func (*QuoteInitialResponse) Equal Uses

func (this *QuoteInitialResponse) Equal(that interface{}) bool

func (*QuoteInitialResponse) GetErrorCode Uses

func (m *QuoteInitialResponse) GetErrorCode() int32

func (*QuoteInitialResponse) GetErrorMessage Uses

func (m *QuoteInitialResponse) GetErrorMessage() string

func (*QuoteInitialResponse) GetQuote Uses

func (m *QuoteInitialResponse) GetQuote() *Quote

func (*QuoteInitialResponse) GoString Uses

func (this *QuoteInitialResponse) GoString() string

func (*QuoteInitialResponse) Marshal Uses

func (m *QuoteInitialResponse) Marshal() (data []byte, err error)

func (*QuoteInitialResponse) MarshalTo Uses

func (m *QuoteInitialResponse) MarshalTo(data []byte) (n int, err error)

func (*QuoteInitialResponse) ProtoMessage Uses

func (*QuoteInitialResponse) ProtoMessage()

func (*QuoteInitialResponse) Reset Uses

func (m *QuoteInitialResponse) Reset()

func (*QuoteInitialResponse) Size Uses

func (m *QuoteInitialResponse) Size() (n int)

func (*QuoteInitialResponse) String Uses

func (this *QuoteInitialResponse) String() string

func (*QuoteInitialResponse) Unmarshal Uses

func (m *QuoteInitialResponse) Unmarshal(data []byte) error

func (*QuoteInitialResponse) VerboseEqual Uses

func (this *QuoteInitialResponse) VerboseEqual(that interface{}) error

Package pricing imports 9 packages (graph) and is imported by 1 packages. Updated 2016-07-20. Refresh now. Tools for package owners.