Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Order ¶
type Order struct {
ClOrdID string
Symbol string
SenderCompID string
TargetCompID string
Side enum.Side
OrdType enum.OrdType
Price decimal.Decimal
Quantity decimal.Decimal
ExecutedQuantity decimal.Decimal
AvgPx decimal.Decimal
LastExecutedQuantity decimal.Decimal
LastExecutedPrice decimal.Decimal
// contains filtered or unexported fields
}
func (Order) OpenQuantity ¶
type OrderMatcher ¶
type OrderMatcher struct {
// contains filtered or unexported fields
}
func NewOrderMatcher ¶
func NewOrderMatcher() *OrderMatcher
func (*OrderMatcher) Cancel ¶
func (m *OrderMatcher) Cancel(clordID, symbol string, side enum.Side) *Order
func (OrderMatcher) Display ¶
func (m OrderMatcher) Display()
func (OrderMatcher) DisplayMarket ¶
func (m OrderMatcher) DisplayMarket(symbol string)
func (*OrderMatcher) Insert ¶
func (m *OrderMatcher) Insert(order Order)
func (*OrderMatcher) Match ¶
func (m *OrderMatcher) Match(symbol string) []Order
Click to show internal directories.
Click to hide internal directories.