Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindType ¶ added in v0.73.0
type BindType interface { *vegapb.DataSourceSpecToFutureBinding | *vegapb.DataSourceSpecToPerpetualBinding }
type CompositePriceOracleConfig ¶ added in v0.74.0
type CompositePriceOracleConfig struct { Spec *vegapb.OracleSpec Binding *vegapb.SpecBindingForCompositePrice }
type Config ¶
type Config struct { RiskModels *riskModels FeesConfig *feesConfig OracleConfigs *oracleConfigs PriceMonitoring *priceMonitoring MarginCalculators *marginCalculators LiquidityMonitoring *liquidityMonitoring LiquiditySLAParams *slaParams LiquidationStrat *liquidationConfig }
func NewMarketConfig ¶
func NewMarketConfig() *Config
type OracleConfig ¶
type OracleConfig[T BindType] struct { Spec *vegapb.OracleSpec Binding T }
type SuccessorConfig ¶ added in v0.72.0
type SuccessorConfig struct { ParentID string InsuranceFraction num.Decimal PriceMonitoring *priceMonitoring LiquidityMonitoring *liquidityMonitoring RiskModels *riskModels PositionDecimals int64 Decimals uint64 PriceRange num.Decimal LinSlip num.Decimal QuadSlip num.Decimal LiquidationStrat *liquidationConfig }
func NewSuccessorConfig ¶ added in v0.72.0
func NewSuccessorConfig() *SuccessorConfig
Source Files ¶
Click to show internal directories.
Click to hide internal directories.