Documentation ¶
Index ¶
- type BaseTradingRules
- func (m *BaseTradingRules) SetExpirationCycle(v int)
- func (m *BaseTradingRules) SetImpliedMarketIndicator(v int)
- func (m *BaseTradingRules) SetLotTypeRules(v lottyperules.LotTypeRules)
- func (m *BaseTradingRules) SetMaxPriceVariation(v float64)
- func (m *BaseTradingRules) SetMaxTradeVol(v float64)
- func (m *BaseTradingRules) SetMinTradeVol(v float64)
- func (m *BaseTradingRules) SetMultilegModel(v int)
- func (m *BaseTradingRules) SetMultilegPriceMethod(v int)
- func (m *BaseTradingRules) SetPriceLimits(v pricelimits.PriceLimits)
- func (m *BaseTradingRules) SetPriceType(v int)
- func (m *BaseTradingRules) SetRoundLot(v float64)
- func (m *BaseTradingRules) SetTickRules(v tickrules.TickRules)
- func (m *BaseTradingRules) SetTradingCurrency(v string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseTradingRules ¶ added in v0.2.0
type BaseTradingRules struct { //TickRules is a non-required component for BaseTradingRules. TickRules *tickrules.TickRules //LotTypeRules is a non-required component for BaseTradingRules. LotTypeRules *lottyperules.LotTypeRules //PriceLimits is a non-required component for BaseTradingRules. PriceLimits *pricelimits.PriceLimits //ExpirationCycle is a non-required field for BaseTradingRules. ExpirationCycle *int `fix:"827"` //MinTradeVol is a non-required field for BaseTradingRules. MinTradeVol *float64 `fix:"562"` //MaxTradeVol is a non-required field for BaseTradingRules. MaxTradeVol *float64 `fix:"1140"` //MaxPriceVariation is a non-required field for BaseTradingRules. MaxPriceVariation *float64 `fix:"1143"` //ImpliedMarketIndicator is a non-required field for BaseTradingRules. ImpliedMarketIndicator *int `fix:"1144"` //TradingCurrency is a non-required field for BaseTradingRules. TradingCurrency *string `fix:"1245"` //RoundLot is a non-required field for BaseTradingRules. RoundLot *float64 `fix:"561"` //MultilegModel is a non-required field for BaseTradingRules. MultilegModel *int `fix:"1377"` //MultilegPriceMethod is a non-required field for BaseTradingRules. MultilegPriceMethod *int `fix:"1378"` //PriceType is a non-required field for BaseTradingRules. PriceType *int `fix:"423"` }
BaseTradingRules is a fix50sp2 Component
func (*BaseTradingRules) SetExpirationCycle ¶ added in v0.2.0
func (m *BaseTradingRules) SetExpirationCycle(v int)
func (*BaseTradingRules) SetImpliedMarketIndicator ¶ added in v0.2.0
func (m *BaseTradingRules) SetImpliedMarketIndicator(v int)
func (*BaseTradingRules) SetLotTypeRules ¶ added in v0.2.0
func (m *BaseTradingRules) SetLotTypeRules(v lottyperules.LotTypeRules)
func (*BaseTradingRules) SetMaxPriceVariation ¶ added in v0.2.0
func (m *BaseTradingRules) SetMaxPriceVariation(v float64)
func (*BaseTradingRules) SetMaxTradeVol ¶ added in v0.2.0
func (m *BaseTradingRules) SetMaxTradeVol(v float64)
func (*BaseTradingRules) SetMinTradeVol ¶ added in v0.2.0
func (m *BaseTradingRules) SetMinTradeVol(v float64)
func (*BaseTradingRules) SetMultilegModel ¶ added in v0.2.0
func (m *BaseTradingRules) SetMultilegModel(v int)
func (*BaseTradingRules) SetMultilegPriceMethod ¶ added in v0.2.0
func (m *BaseTradingRules) SetMultilegPriceMethod(v int)
func (*BaseTradingRules) SetPriceLimits ¶ added in v0.2.0
func (m *BaseTradingRules) SetPriceLimits(v pricelimits.PriceLimits)
func (*BaseTradingRules) SetPriceType ¶ added in v0.2.0
func (m *BaseTradingRules) SetPriceType(v int)
func (*BaseTradingRules) SetRoundLot ¶ added in v0.2.0
func (m *BaseTradingRules) SetRoundLot(v float64)
func (*BaseTradingRules) SetTickRules ¶ added in v0.2.0
func (m *BaseTradingRules) SetTickRules(v tickrules.TickRules)
func (*BaseTradingRules) SetTradingCurrency ¶ added in v0.2.0
func (m *BaseTradingRules) SetTradingCurrency(v string)
Click to show internal directories.
Click to hide internal directories.