basetradingrules

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2016 License: Apache-1.1 Imports: 3 Imported by: 0

Documentation

Index

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 New

func New() *BaseTradingRules

New returns an initialized BaseTradingRules instance

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL