Documentation ¶
Overview ¶
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 ¶
- type Quote
- func (this *Quote) Equal(that interface{}) bool
- func (m *Quote) GetAsk() float64
- func (m *Quote) GetAsk1() float64
- func (m *Quote) GetAsk1Size() int32
- func (m *Quote) GetAsk2() float64
- func (m *Quote) GetAsk2Size() int32
- func (m *Quote) GetAsk3() float64
- func (m *Quote) GetAsk3Size() int32
- func (m *Quote) GetAsk4() float64
- func (m *Quote) GetAsk4Size() int32
- func (m *Quote) GetAsk5() float64
- func (m *Quote) GetAsk5Size() int32
- func (m *Quote) GetAskDatetime() string
- func (m *Quote) GetAskSize() int32
- func (m *Quote) GetBid() float64
- func (m *Quote) GetBid1() float64
- func (m *Quote) GetBid1Size() int32
- func (m *Quote) GetBid2() float64
- func (m *Quote) GetBid2Size() int32
- func (m *Quote) GetBid3() float64
- func (m *Quote) GetBid3Size() int32
- func (m *Quote) GetBid4() float64
- func (m *Quote) GetBid4Size() int32
- func (m *Quote) GetBid5() float64
- func (m *Quote) GetBid5Size() int32
- func (m *Quote) GetBidDatetime() string
- func (m *Quote) GetBidSize() int32
- func (m *Quote) GetClose() float64
- func (m *Quote) GetCountry() string
- func (m *Quote) GetCrncy() string
- func (m *Quote) GetDescription() string
- func (m *Quote) GetExchCode() string
- func (m *Quote) GetExpiry() string
- func (m *Quote) GetFirstNoticeDate() string
- func (m *Quote) GetHigh() float64
- func (m *Quote) GetIsin() string
- func (m *Quote) GetLastDatetime() string
- func (m *Quote) GetLastPrice() float64
- func (m *Quote) GetLow() float64
- func (m *Quote) GetMargin() float64
- func (m *Quote) GetMultiplier() string
- func (m *Quote) GetOpen() float64
- func (m *Quote) GetOpenInterest() int32
- func (m *Quote) GetPriceScale() float64
- func (m *Quote) GetPrimExch() string
- func (m *Quote) GetPxTradeLotSize() float64
- func (m *Quote) GetRoundLot() float64
- func (m *Quote) GetSedol() string
- func (m *Quote) GetSizeLastTrade() int32
- func (m *Quote) GetSpreadBa() float64
- func (m *Quote) GetSymbol() string
- func (m *Quote) GetSymbolRoot() string
- func (m *Quote) GetTickSize() float64
- func (m *Quote) GetVolume() int64
- func (this *Quote) GoString() string
- func (m *Quote) Marshal() (data []byte, err error)
- func (m *Quote) MarshalTo(data []byte) (n int, err error)
- func (*Quote) ProtoMessage()
- func (m *Quote) Reset()
- func (m *Quote) Size() (n int)
- func (this *Quote) String() string
- func (m *Quote) Unmarshal(data []byte) error
- func (this *Quote) VerboseEqual(that interface{}) error
- type QuoteInitialRequest
- func (this *QuoteInitialRequest) Equal(that interface{}) bool
- func (m *QuoteInitialRequest) GetExchange() string
- func (m *QuoteInitialRequest) GetIncludeOptionChain() bool
- func (m *QuoteInitialRequest) GetMachine() string
- func (m *QuoteInitialRequest) GetSource() string
- func (m *QuoteInitialRequest) GetSymbol() string
- func (m *QuoteInitialRequest) GetUser() string
- func (m *QuoteInitialRequest) GetUserId() int32
- func (this *QuoteInitialRequest) GoString() string
- func (m *QuoteInitialRequest) Marshal() (data []byte, err error)
- func (m *QuoteInitialRequest) MarshalTo(data []byte) (n int, err error)
- func (*QuoteInitialRequest) ProtoMessage()
- func (m *QuoteInitialRequest) Reset()
- func (m *QuoteInitialRequest) Size() (n int)
- func (this *QuoteInitialRequest) String() string
- func (m *QuoteInitialRequest) Unmarshal(data []byte) error
- func (this *QuoteInitialRequest) VerboseEqual(that interface{}) error
- type QuoteInitialResponse
- func (this *QuoteInitialResponse) Equal(that interface{}) bool
- func (m *QuoteInitialResponse) GetErrorCode() int32
- func (m *QuoteInitialResponse) GetErrorMessage() string
- func (m *QuoteInitialResponse) GetQuote() *Quote
- func (this *QuoteInitialResponse) GoString() string
- func (m *QuoteInitialResponse) Marshal() (data []byte, err error)
- func (m *QuoteInitialResponse) MarshalTo(data []byte) (n int, err error)
- func (*QuoteInitialResponse) ProtoMessage()
- func (m *QuoteInitialResponse) Reset()
- func (m *QuoteInitialResponse) Size() (n int)
- func (this *QuoteInitialResponse) String() string
- func (m *QuoteInitialResponse) Unmarshal(data []byte) error
- func (this *QuoteInitialResponse) VerboseEqual(that interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Quote ¶
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 ¶
func (*Quote) GetAsk1Size ¶
func (*Quote) GetAsk2Size ¶
func (*Quote) GetAsk3Size ¶
func (*Quote) GetAsk4Size ¶
func (*Quote) GetAsk5Size ¶
func (*Quote) GetAskDatetime ¶
func (*Quote) GetAskSize ¶
func (*Quote) GetBid1Size ¶
func (*Quote) GetBid2Size ¶
func (*Quote) GetBid3Size ¶
func (*Quote) GetBid4Size ¶
func (*Quote) GetBid5Size ¶
func (*Quote) GetBidDatetime ¶
func (*Quote) GetBidSize ¶
func (*Quote) GetCountry ¶
func (*Quote) GetDescription ¶
func (*Quote) GetExchCode ¶
func (*Quote) GetFirstNoticeDate ¶
func (*Quote) GetLastDatetime ¶
func (*Quote) GetLastPrice ¶
func (*Quote) GetMultiplier ¶
func (*Quote) GetOpenInterest ¶
func (*Quote) GetPriceScale ¶
func (*Quote) GetPrimExch ¶
func (*Quote) GetPxTradeLotSize ¶
func (*Quote) GetRoundLot ¶
func (*Quote) GetSizeLastTrade ¶
func (*Quote) GetSpreadBa ¶
func (*Quote) GetSymbolRoot ¶
func (*Quote) GetTickSize ¶
func (*Quote) ProtoMessage ¶
func (*Quote) ProtoMessage()
func (*Quote) VerboseEqual ¶
type QuoteInitialRequest ¶
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 ¶
func NewPopulatedQuoteInitialRequest(r randyPricing, easy bool) *QuoteInitialRequest
func (*QuoteInitialRequest) Equal ¶
func (this *QuoteInitialRequest) Equal(that interface{}) bool
func (*QuoteInitialRequest) GetExchange ¶
func (m *QuoteInitialRequest) GetExchange() string
func (*QuoteInitialRequest) GetIncludeOptionChain ¶
func (m *QuoteInitialRequest) GetIncludeOptionChain() bool
func (*QuoteInitialRequest) GetMachine ¶
func (m *QuoteInitialRequest) GetMachine() string
func (*QuoteInitialRequest) GetSource ¶
func (m *QuoteInitialRequest) GetSource() string
func (*QuoteInitialRequest) GetSymbol ¶
func (m *QuoteInitialRequest) GetSymbol() string
func (*QuoteInitialRequest) GetUser ¶
func (m *QuoteInitialRequest) GetUser() string
func (*QuoteInitialRequest) GetUserId ¶
func (m *QuoteInitialRequest) GetUserId() int32
func (*QuoteInitialRequest) GoString ¶
func (this *QuoteInitialRequest) GoString() string
func (*QuoteInitialRequest) Marshal ¶
func (m *QuoteInitialRequest) Marshal() (data []byte, err error)
func (*QuoteInitialRequest) MarshalTo ¶
func (m *QuoteInitialRequest) MarshalTo(data []byte) (n int, err error)
func (*QuoteInitialRequest) ProtoMessage ¶
func (*QuoteInitialRequest) ProtoMessage()
func (*QuoteInitialRequest) Reset ¶
func (m *QuoteInitialRequest) Reset()
func (*QuoteInitialRequest) Size ¶
func (m *QuoteInitialRequest) Size() (n int)
func (*QuoteInitialRequest) String ¶
func (this *QuoteInitialRequest) String() string
func (*QuoteInitialRequest) Unmarshal ¶
func (m *QuoteInitialRequest) Unmarshal(data []byte) error
func (*QuoteInitialRequest) VerboseEqual ¶
func (this *QuoteInitialRequest) VerboseEqual(that interface{}) error
type QuoteInitialResponse ¶
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 ¶
func NewPopulatedQuoteInitialResponse(r randyPricing, easy bool) *QuoteInitialResponse
func (*QuoteInitialResponse) Equal ¶
func (this *QuoteInitialResponse) Equal(that interface{}) bool
func (*QuoteInitialResponse) GetErrorCode ¶
func (m *QuoteInitialResponse) GetErrorCode() int32
func (*QuoteInitialResponse) GetErrorMessage ¶
func (m *QuoteInitialResponse) GetErrorMessage() string
func (*QuoteInitialResponse) GetQuote ¶
func (m *QuoteInitialResponse) GetQuote() *Quote
func (*QuoteInitialResponse) GoString ¶
func (this *QuoteInitialResponse) GoString() string
func (*QuoteInitialResponse) Marshal ¶
func (m *QuoteInitialResponse) Marshal() (data []byte, err error)
func (*QuoteInitialResponse) MarshalTo ¶
func (m *QuoteInitialResponse) MarshalTo(data []byte) (n int, err error)
func (*QuoteInitialResponse) ProtoMessage ¶
func (*QuoteInitialResponse) ProtoMessage()
func (*QuoteInitialResponse) Reset ¶
func (m *QuoteInitialResponse) Reset()
func (*QuoteInitialResponse) Size ¶
func (m *QuoteInitialResponse) Size() (n int)
func (*QuoteInitialResponse) String ¶
func (this *QuoteInitialResponse) String() string
func (*QuoteInitialResponse) Unmarshal ¶
func (m *QuoteInitialResponse) Unmarshal(data []byte) error
func (*QuoteInitialResponse) VerboseEqual ¶
func (this *QuoteInitialResponse) VerboseEqual(that interface{}) error
Click to show internal directories.
Click to hide internal directories.