Propose new futures market
Propose a cash-settled futures market on any underlying with a settlement data source.
Looking to propose a perpetuals market? See the perpetual futures tutorial.
Requirements
You will need:
- A connected Vega wallet, with your wallet name and public key to hand
- A minimum of whichever is larger, associated with that public key: 🔗governance.proposal.market.minProposerBalance, (🔗20000 tokens) or 🔗spam.protection.proposal.min.tokens (🔗2000 tokens)
- Familiarity with market governance on Vega
You should also share your proposal idea in the Market Proposals forum section ↗ before submitting it to the network.
Anatomy of a market proposal
In this section, the full proposal template has been divided into sections to provide more details on what you need to submit.
There are a number of fields required for proposing a market to ensure that it has all the necessary details and research behind it to be a well-functioning market.
The general shape is as follows:
{
rationale: {
title: "Add Lorem Ipsum market",
description: "An example proposal to add Lorem Ipsum market"
},
terms: {
newMarket: {
changes: {
// Linear slippage factor is used to cap the slippage component of maintenance margin - it is applied to the slippage volume.
linearSlippageFactor: 0.001,
// Quadratic slippage factor is used to cap the slippage component of maintenance margin - it is applied to the square of the slippage volume.
quadraticSlippageFactor: 0,
// Decimal places used for the new futures market, sets the smallest price increment on the book. (uint64 as string)
decimalPlaces: "5",
// Decimal places for order sizes, sets what size the smallest order / position on the futures market can be. (int64 as string)
positionDecimalPlaces: "5",
// Instrument configuration
instrument: {},
// Optional new futures market metadata, tags.
metadata: [],
// PriceMonitoringParameters contains a collection of triggers to be used for a given market
priceMonitoringParameters: [],
// LiquidityMonitoringParameters contains settings used for liquidity monitoring
liquidityMonitoringParameters: {},
// Risk model for log normal
logNormal: {},
// Liquidity SLA parameters
liquiditySlaParameters: {
// (string)
priceRange: 0.1,
// Specifies the minimum fraction of time LPs must spend "on the book" providing their committed liquidity. (string)
commitmentMinTimeFraction: "0.1",
// Specifies the number of liquidity epochs over which past performance will continue to affect rewards. (uint64 as string)
performanceHysteresisEpochs: "10",
// Specifies the maximum fraction of their accrued fees an LP that meets the SLA implied by market.liquidity.commitmentMinTimeFraction will lose to liquidity providers
// that achieved a higher SLA performance than them. (string)
slaCompetitionFactor: "0.2",
},
}
},
// Timestamp as Unix time in seconds when voting closes for this proposal,
// constrained by `minClose` and `maxClose` network parameters. (int64 as string)
closingTimestamp: 1700416773,
// Timestamp as Unix time in seconds when proposal gets enacted if passed,
// constrained by `minEnact` and `maxEnact` network parameters. (int64 as string)
enactmentTimestamp: 1700503173,
}
}
The contents of a changes
object specifies what will be different after the proposal. In this case, these are the changes that will occur on the network, in the form of a new market.
Instrument, liquidity monitoring parameters, price monitoring parameters, and data sources are all described in more detail below.
Rationale requires a title and description, which is are free-text fields that describe the purpose of the proposal. Within the description, include links with more information about your proposal (such as to the IPFS content or forum post) that voters can reference to learn more about the market proposal. Formatting your rationale with markdown makes it easier to read when it's displayed.
Decimal places need to be defined for both order sizes and the market. A market cannot specify more decimal places than its settlement asset supports. The values for these fields cannot be changed, even through governance.
Field | Description | Example |
---|---|---|
decimalPlaces | Sets the smallest price increment on the book. | 18 |
positionDecimalPlaces | Sets the size that the smallest order / position on the market can be. Set the position decimal places such that the margin on the smallest order ends up being about 1 USD. This ensures that the market will not accept orders with very small margin minimums, protecting the network from being spammed with lots of financially insignificant orders. To figure out the ideal decimal place: Calculate the risk factor. Find the current price the asset is trading for, such as from the oracle you're using. The smallest order margin is price x 10^{-pdp} x (risk factor) . Convert to USD. If this is less than 0.5, then decrease the position decimal places (pdp) accordingly. Position decimal places (pdp) can also be negative integers. | 3 |
Timestamps are required for ending the voting period, as well as enacting the market. The time between closing and enactment also defines how long an opening auction will be, which must be smaller than/equal to the difference between 🔗governance.proposal.market.maxClose: 720h and 🔗governance.proposal.market.maxEnact: 720h.
Field | Description | Example |
---|---|---|
closingTimestamp | Timestamp (Unix time in seconds) when voting closes for this proposal. If it passes the vote, liquidity can be committed from this time. The chosen time must be between 🔗24h and 🔗720h after the proposal submission time. (int64 as string) | 1663517914 |
enactmentTimestamp | Timestamp (Unix time in seconds) when the market will be enacted, ready for trading. The chosen time must be between 🔗24h and 🔗720h after closingTimestamp . (int64 as string) | 1663604314 |
Slippage factors are parameters that determine by how much the margin slippage is affected by the liquidity component of margin in a low-volume scenario. If there is enough volume on the book, the slippage comes directly from the book and the liquidity component is not used. The suggested values are in the example column below. Margin slippage in a low-volume scenario is calculated as slippageFromFactors = linear x position + quadratic x position^2) x price
. I
Field | Description | Example |
---|---|---|
linearSlippageFactor | The linear slippage factor captures that for a bigger position there is proportionally bigger liquidity risk. | 0.001 |
quadraticSlippageFactor | The quadratic slippage factor determines by what factor especially large positions can be penalised. When closing those out, the system will 'walk the book' and potentially end up with an execution price notably worse that the last mark price. | 0.0 |
Instrument
The instrument shape is as follows, see below for a description of each property:
{
// Instrument name.
name: "Oranges Daily",
// Instrument code, human-readable shortcode used to describe the instrument.
code: "ORANGES.24h",
// Future product configuration
future: {
// Asset ID for the product's settlement asset. (string)
settlementAsset: "8b52d4a3a4b0ffe733cddbc2b67be273816cfeb6ca4c8b339bac03ffba08e4e4",
// Product quote name. (string)
quoteName: "tEuro",
// Data source spec describing the data source for settlement. (object)
dataSourceSpecForSettlementData: {
external: {
oracle: {
// Signers is the list of authorized signatures that signed the data for this
// source. All the signatures in the data source data should be contained in (array of objects)
signers: [
{
ethAddress: {
address: "0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC"
}
}
],
// Filters describes which source data are considered of interest or not for
// the product (or the risk model).
filters: [
key: {
// Name of the property. (string)
name: "prices.ORANGES.value",
// Data type of the property. (string)
type: "TYPE_INTEGER",
// Optional decimal place to be be applied on the provided value
// valid only for PropertyType of type DECIMAL and INTEGER
numberDecimalPlaces: "5",
},
// Conditions that should be matched by the data to be
// considered of interest.
conditions: [
{
// Type of comparison to make on the value. (string)
operator: "OPERATOR_GREATER_THAN",
// Value to be compared with by the operator. (string)
value: "0",
}
]
},
{
key: {
name: "prices.ORANGES.timestamp",
type: "TYPE_INTEGER",
},
conditions: [
{
operator: "OPERATOR_GREATER_THAN",
value: "1648684800",
}
]
}
]
}
},
// The external data source spec describing the data source of trading termination. (object)
dataSourceSpecForTradingTermination: {},
// DataSourceSpecToFutureBinding describes which property of the data source data is to be
used as settlement data and which to use as the trading terminated trigger(object) dataSourceSpecBinding: {
// Name of the property in the source data that should be used as settlement data.
// If it is set to "prices.BTC.value", then the Future will use the value of
// this property as settlement data. (string)
settlementDataProperty: "prices.ORANGES.value",
// Name of the property in the data source data that signals termination of trading. (string)
tradingTerminationProperty: "vegaprotocol.builtin.timestamp"
}
}
An instrument contains the following properties:
Field | Description | Example |
---|---|---|
name | A string for the market name. Best practice is to include a full and fairly descriptive name for the instrument. | Oranges DEC18. |
code (instrument) | This is a shortcode used to easily describe the instrument. The more information you add, the easier it is for people to know what the market offers. | FX:BTCUSD/DEC18 |
future | An object that provides details about the futures market to be proposed. | |
settlementAsset | Settlement asset requires the ID of the asset that the market will be margined in and settle in. You can get a list of supported assets by querying REST, GraphQL, or gRPC, and then selecting the asset ID. | |
quoteName | The quote name is the human-readable name/abbreviation of the settlement asset. Example: In BTCUSD, USD is the quote. | tEuro |
dataSourceSpecForSettlementData | This defines the data source that will be used to identify the settlement price when the market expires. | prices.ORANGES.value |
dataSourceSpecForTradingTermination | The fields that define the data source used for terminating trading on the market. | vegaprotocol.builtin.timestamp |
dataSourceSpecBinding | The fields describe how specific information provided by the data source is used. For example, they can identify the specific name of the settlement price output, or the specific name of the trading termination property. |
For easy reading, the data source filters are separated out - see Data source bindings below to see the fields for specifying data.
Data source bindings
Data feeds from an oracle can be used to terminate trading and settle markets. See below for a full description of each field. A data source spec binding looks like this:
{
// The external data source spec describing the data source of trading termination.
internal {
// Internal data source used for emitting timestamps.
time: {
// Conditions that the timestamps should meet in order to be considered.
conditions: [
{
// Type of comparison to make on the value. (string)
operator: "OPERATOR_GREATER_THAN_OR_EQUAL",
// Value to be compared with by the operator. (string)
value: "1648684800",
}
]
}
}
Data source bindings include the following properties:
Field | Description | Example |
---|---|---|
pubKeys | Public key(s) that can sign and submit values for this data source | 0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC |
filters | Filters define what data is of importance for the purposes of the type of governance proposal | |
key | Defines the specific type of information the data source provides that is relevant to the proposed market. Example: If a data source provides a list of prices for various markets, focus only on the specific relevant price for the market | |
name | Specific name of the information that the filter provides. | prices.ETH.value |
type | Specifies the data type that is emitted. For example, for the prices.ETH.value , the type is an integer, as it is output as a non-fractional number | TYPE_INTEGER |
numberDecimalPlaces | Optional field to specify the precision in which numerical data is emitted. Use when data is numerical | 18 |
conditions | A filter for the data. The conditions that should to be matched by the data to be considered. This is an optional set of fields. For example you could use an operator and a value to denote that a price should be greater than zero | |
operator | This adds a constraint to the value, such as LESS_THAN, GREATER_THAN. For example if you wanted to ensure that the price would always be above zero, you would set the operator to ‘GREATER_THAN’ and the Value to be ‘0’ | GREATER_THAN |
value | A number that is constrained by the operator. If providing a timestamp, use the Unix time in seconds | 0 |
Submitting a verified settlement price
If you want the community to vote on the verified price used to settle the market:
- Supply your own Vega public key as the oracle signer under
pubkeys
- Set the
conditions
toOPERATOR_GREATER_THAN
0 andOPERATOR_LESS_THAN
0 so no price will be accepted
After the market has terminated, update the price by:
- Submitting an update market proposal with the verified price
- Sending the settlement transaction.
Learn how to find and submit data in the using data sources tutorial.
Liquidity monitoring
The liquidity monitoring settings detect when the market's liquidity drops below the safe level, and as such when to launch a 'liquidity seeking' auction. See below for more details on each field.
{
// TargetStakeParameters contains parameters used in target stake calculation
targetStakeParameters: {
// Specifies length of time window expressed in seconds for target stake calculation. (string)
timeWindow: "3600",
// Specifies scaling factors used in target stake calculation. (number)
scalingFactor: 10
},
// Specifies the triggering ratio for entering liquidity auction. (string)
triggeringRatio: "0.7",
// Specifies by how many seconds an auction should be extended if leaving the auction were to trigger a liquidity auction. (int64 as string)
auctionExtension: "1",
}
}
Liquidity monitoring uses the following properties:
Field | Description | Example |
---|---|---|
targetStakeParameters | Target stake parameters are derived from open interest history over a time window to calculate the maximum open interest. | |
timeWindow | Defines the length of time (in seconds) over which open interest is measured. If empty, this field defaults to 🔗1h. | 3600 |
scalingFactor | The target stake scaling factor scales the estimated required liquidity (based on the market's risk model and current market data) to yield the market's target stake. If not included, it defaults to the value of the network parameter 🔗market.stake.target.scalingFactor. The scaling factor must be a number greater than zero and finite | 10 |
triggeringRatio | Specifies the triggering ratio for entering liquidity auction. If empty, the network will default to 🔗0.25 | 0.7 |
auctionExtension | Specifies by how many seconds an auction should be extended if leaving the auction were to trigger a liquidity auction. If empty, the network will default to the network parameter 🔗market.monitor.price.defaultParameters | 1 |
Price monitoring
Price monitoring parameters are optional, and configure the acceptable price movement bounds for price monitoring. If you leave these blank, they will default to the value of the network parameter 🔗market.monitor.price.defaultParameters). See below for more details on each field.
{
// PriceMonitoringTrigger holds together price projection horizon τ, probability level p, and auction extension duration
triggers: [
{
// Price monitoring projection horizon τ in seconds. (int64 as string)
horizon: "43200",
// Price monitoring probability level p. (string)
probability: "0.9999999",
// Price monitoring auction extension duration in seconds should the price
// breach its theoretical level over the specified horizon at the specified
// probability level. (int64 as string)
auctionExtension: "600",
}
]
}
Price monitoring uses the following properties:
Field | Description | Example |
---|---|---|
horizon | Price monitoring projection horizon τ in seconds (set as >0) | 43200 |
probability | Price monitoring probability level p (set as >0 and <1) | 0.9999999 |
auctionExtension | Price monitoring auction extension duration (in seconds) should the price breach its theoretical level over the specified horizon at the specified probability level (set as >0) | 600 |
You can use a maximum of 5 sets of price monitoring parameters for a market.
Risk model
Choose the individual parameters for the log-normal risk model. You should ensure the risk model parameters represent the dynamics of the underlying instrument, and that the resulting margins strike the right balance between prudence and capital efficiency.
While you cannot define exactly how much margin (or leverage) is possible, you can influence the acceptable levels of market volatility.
Read about the risk models and parameters before choosing your values.
{
// Tau (number)
tau: 0.0001140771161,
// Risk Aversion Parameter (double as number)
riskAversionParameter: "0.001",
// Risk model parameters for log normal
params: {
// Mu param (double as number)
mu: 0,
// R param (double as number)
r: 0.016,
// Sigma param (double as number)
sigma: 0.8,
}
}
Field | Description | Suggested value |
---|---|---|
tau | Projection horizon measured as a year fraction used in the expected shortfall calculation to obtain the maintenance margin. Accepted values: any strictly non-negative real number; suggested value: 0.000114077116130504 - corresponds to one hour expressed as year fraction | 0.000114077116130504 |
riskAversionParameter | Probability confidence level used in expected shortfall calculation when obtaining the maintenance margin level. First, the value at risk, defined by confidence lambda is calculated. This is the cash amount that one would need to add to the position to make the probability of the value of the position and cash going negative after time tau to be less than lambda. The margin is then the expected loss of the position given that it incurred a loss bigger than the value at risk. Accepted values: strictly greater than 0 and strictly smaller than 1 | 0.00001 |
param: mu | Annualised growth rate of the underlying asset. Accepted values: any real number | 0 |
param: r | Annualised growth rate of the risk-free asset, it's used for discounting of future cash flows. Use 0.0 unless otherwise required. Accepted values: any real number | 0.0 |
param: sigma | Annualised historic volatility of the underlying asset. Accepted values: any strictly non-negative real number; suggested value: asset dependent, should be derived from the historical time-series of prices. | 0.8 (converts to 80%) |
Templates and submitting
In the tabs below you'll see:
- Annotated example describing what each field is for
- JSON example that can be shared with the community and then submitted with the governance dApp ↗
- Command line examples for different operating systems that can be submitted with a Vega Wallet app.
Replace the example data with the relevant details before submitting.
- Annotated example
- Governance dApp (JSON)
- Command line (Linux / OSX)
- Command line (Windows)
{
rationale: {
title: "Add Lorem Ipsum market",
description: "An example proposal to add Lorem Ipsum market"
},
terms: {
newMarket: {
changes: {
// Linear slippage factor is used to cap the slippage component of maintenance margin - it is applied to the slippage volume.
linearSlippageFactor: 0.001,
// Quadratic slippage factor is used to cap the slippage component of maintenance margin - it is applied to the square of the slippage volume.
quadraticSlippageFactor: 0,
// Decimal places used for the new futures market, sets the smallest price increment on the book. (uint64 as string)
decimalPlaces: "5",
// Decimal places for order sizes, sets what size the smallest order / position on the futures market can be. (int64 as string)
positionDecimalPlaces: "5",
// Instrument configuration
instrument: {
// Instrument name.
name: "Oranges Daily",
// Instrument code, human-readable shortcode used to describe the instrument.
code: "ORANGES.24h",
// Future product configuration
future: {
// Asset ID for the product's settlement asset. (string)
settlementAsset: "8b52d4a3a4b0ffe733cddbc2b67be273816cfeb6ca4c8b339bac03ffba08e4e4",
// Product quote name. (string)
quoteName: "tEuro",
// Data source spec describing the data source for settlement. (object)
dataSourceSpecForSettlementData: {
external: {
oracle: {
// Signers is the list of authorized signatures that signed the data for this
// source. All the signatures in the data source data should be contained in (array of objects)
signers: [
{
ethAddress: {
address: "0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC"
}
}
],
// Filters describes which source data are considered of interest or not for
// the product (or the risk model).
filters: [
key: {
// Name of the property. (string)
name: "prices.ORANGES.value",
// Data type of the property. (string)
type: "TYPE_INTEGER",
// Optional decimal place to be be applied on the provided value
// valid only for PropertyType of type DECIMAL and INTEGER
numberDecimalPlaces: "5",
},
// Conditions that should be matched by the data to be
// considered of interest.
conditions: [
{
// Type of comparison to make on the value. (string)
operator: "OPERATOR_GREATER_THAN",
// Value to be compared with by the operator. (string)
value: "0",
}
]
},
{
key: {
name: "prices.ORANGES.timestamp",
type: "TYPE_INTEGER",
},
conditions: [
{
operator: "OPERATOR_GREATER_THAN",
value: "1648684800",
}
]
}
]
}
},
// The external data source spec describing the data source of trading termination. (object)
dataSourceSpecForTradingTermination: {
// The external data source spec describing the data source of trading termination.
internal {
// Internal data source used for emitting timestamps.
time: {
// Conditions that the timestamps should meet in order to be considered.
conditions: [
{
// Type of comparison to make on the value. (string)
operator: "OPERATOR_GREATER_THAN_OR_EQUAL",
// Value to be compared with by the operator. (string)
value: "1648684800",
}
]
}
},
// DataSourceSpecToFutureBinding describes which property of the data source data is to be
used as settlement data and which to use as the trading terminated trigger(object) dataSourceSpecBinding: {
// Name of the property in the source data that should be used as settlement data.
// If it is set to "prices.BTC.value", then the Future will use the value of
// this property as settlement data. (string)
settlementDataProperty: "prices.ORANGES.value",
// Name of the property in the data source data that signals termination of trading. (string)
tradingTerminationProperty: "vegaprotocol.builtin.timestamp"
}
},
// Optional new futures market metadata, tags.
metadata: [
"enactment:2023-11-20T17:59:33Z",
"settlement:2023-11-19T17:59:33Z",
"source:docs.vega.xyz"
],
// PriceMonitoringParameters contains a collection of triggers to be used for a given market
priceMonitoringParameters: {
// PriceMonitoringTrigger holds together price projection horizon τ, probability level p, and auction extension duration
triggers: [
{
// Price monitoring projection horizon τ in seconds. (int64 as string)
horizon: "43200",
// Price monitoring probability level p. (string)
probability: "0.9999999",
// Price monitoring auction extension duration in seconds should the price
// breach its theoretical level over the specified horizon at the specified
// probability level. (int64 as string)
auctionExtension: "600",
}
]
},
// LiquidityMonitoringParameters contains settings used for liquidity monitoring
liquidityMonitoringParameters: {
// TargetStakeParameters contains parameters used in target stake calculation
targetStakeParameters: {
// Specifies length of time window expressed in seconds for target stake calculation. (string)
timeWindow: "3600",
// Specifies scaling factors used in target stake calculation. (number)
scalingFactor: 10
},
// Specifies the triggering ratio for entering liquidity auction. (string)
triggeringRatio: "0.7",
// Specifies by how many seconds an auction should be extended if leaving the auction were to trigger a liquidity auction. (int64 as string)
auctionExtension: "1",
}
},
// Risk model for log normal
logNormal: {
// Tau parameter of the risk model, projection horizon measured as a year fraction used in the expected shortfall
calculation to obtain the maintenance margin,
must be a strictly non - negative real number.(number) tau: 0.0001140771161,
// Risk Aversion Parameter. (double as number)
riskAversionParameter: "0.01",
// Risk model parameters for log normal
params: {
// Mu parameter, annualised growth rate of the underlying asset. (double as number)
mu: 0,
// R parameter, annualised growth rate of the risk-free asset, used for discounting of future cash flows, can be any real number. (double as number)
r: 0.016,
// Sigma parameter, annualised volatility of the underlying asset, must be a strictly non-negative real number. (double as number)
sigma: 0.15,
}
},
// Liquidity SLA parameters
liquiditySlaParameters: {
// (string)
priceRange: 0.1,
// Specifies the minimum fraction of time LPs must spend "on the book" providing their committed liquidity. (string)
commitmentMinTimeFraction: "0.1",
// Specifies the number of liquidity epochs over which past performance will continue to affect rewards. (uint64 as string)
performanceHysteresisEpochs: "10",
// Specifies the maximum fraction of their accrued fees an LP that meets the SLA implied by market.liquidity.commitmentMinTimeFraction will lose to liquidity providers
// that achieved a higher SLA performance than them. (string)
slaCompetitionFactor: "0.2",
},
}
},
// Timestamp as Unix time in seconds when voting closes for this proposal,
// constrained by `minClose` and `maxClose` network parameters. (int64 as string)
closingTimestamp: 1700416773,
// Timestamp as Unix time in seconds when proposal gets enacted if passed,
// constrained by `minEnact` and `maxEnact` network parameters. (int64 as string)
enactmentTimestamp: 1700503173,
}
}
- Copy the JSON example below into a text editor.
- Replace the placeholder values with those you want for the market.
- Tip: Use markdown formatting in your proposal's rationale to make for easier community review.
- Submit your proposal on the governance dApp ↗.
- Check you can see your proposal under Open Proposals on the governance dApp ↗.
{
"rationale": {
"title": "Add Lorem Ipsum market",
"description": "An example proposal to add Lorem Ipsum market"
},
"terms": {
"newMarket": {
"changes": {
"linearSlippageFactor": "0.001",
"quadraticSlippageFactor": "0",
"decimalPlaces": "5",
"positionDecimalPlaces": "5",
"instrument": {
"name": "Oranges Daily",
"code": "ORANGES.24h",
"future": {
"settlementAsset": "8b52d4a3a4b0ffe733cddbc2b67be273816cfeb6ca4c8b339bac03ffba08e4e4",
"quoteName": "tEuro",
"dataSourceSpecForSettlementData": {
"external": {
"oracle": {
"signers": [
{
"ethAddress": {
"address": "0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC"
}
}
],
"filters": [
{
"key": {
"name": "prices.ORANGES.value",
"type": "TYPE_INTEGER",
"numberDecimalPlaces": "5"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
]
},
{
"key": {
"name": "prices.ORANGES.timestamp",
"type": "TYPE_INTEGER"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "1648684800"
}
]
}
]
}
}
},
"dataSourceSpecForTradingTermination": {
"internal": {
"time": {
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN_OR_EQUAL",
"value": "1648684800"
}
]
}
}
},
"dataSourceSpecBinding": {
"settlementDataProperty": "prices.ORANGES.value",
"tradingTerminationProperty": "vegaprotocol.builtin.timestamp"
}
}
},
"metadata": [
"enactment:2023-11-20T17:59:33Z",
"settlement:2023-11-19T17:59:33Z",
"source:docs.vega.xyz"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "43200",
"probability": "0.9999999",
"auctionExtension": "600"
}
]
},
"liquidityMonitoringParameters": {
"targetStakeParameters": {
"timeWindow": "3600",
"scalingFactor": 10
},
"triggeringRatio": "0.7",
"auctionExtension": "1"
},
"logNormal": {
"tau": 0.0001140771161,
"riskAversionParameter": 0.01,
"params": {
"mu": 0,
"r": 0.016,
"sigma": 0.15
}
},
"liquiditySlaParameters": {
"priceRange": "0.1",
"commitmentMinTimeFraction": "0.1",
"performanceHysteresisEpochs": "10",
"slaCompetitionFactor": "0.2"
}
}
},
"closingTimestamp": 1700416773,
"enactmentTimestamp": 1700503173
}
}
- Copy the command line example below into a text editor.
- Replace the placeholder values with those you want in the proposal.
- Tip: Use markdown formatting in your proposal's rationale to make for easier community review.
- Connect to your Vega wallet and use the command line to submit your proposal.
- Check you can see your proposal under Open Proposals on the governance dApp ↗.
./vegawallet transaction send --wallet YOUR_WALLETNAME --pubkey YOUR_PUBLIC_KEY --network NETWORK_NAME '{
"proposalSubmission": {
"rationale": {
"title": "Add Lorem Ipsum market",
"description": "An example proposal to add Lorem Ipsum market"
},
"terms": {
"newMarket": {
"changes": {
"linearSlippageFactor": "0.001",
"quadraticSlippageFactor": "0",
"decimalPlaces": "5",
"positionDecimalPlaces": "5",
"instrument": {
"name": "Oranges Daily",
"code": "ORANGES.24h",
"future": {
"settlementAsset": "8b52d4a3a4b0ffe733cddbc2b67be273816cfeb6ca4c8b339bac03ffba08e4e4",
"quoteName": "tEuro",
"dataSourceSpecForSettlementData": {
"external": {
"oracle": {
"signers": [
{
"ethAddress": {
"address": "0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC"
}
}
],
"filters": [
{
"key": {
"name": "prices.ORANGES.value",
"type": "TYPE_INTEGER",
"numberDecimalPlaces": "5"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "0"
}
]
},
{
"key": {
"name": "prices.ORANGES.timestamp",
"type": "TYPE_INTEGER"
},
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN",
"value": "1648684800"
}
]
}
]
}
}
},
"dataSourceSpecForTradingTermination": {
"internal": {
"time": {
"conditions": [
{
"operator": "OPERATOR_GREATER_THAN_OR_EQUAL",
"value": "1648684800"
}
]
}
}
},
"dataSourceSpecBinding": {
"settlementDataProperty": "prices.ORANGES.value",
"tradingTerminationProperty": "vegaprotocol.builtin.timestamp"
}
}
},
"metadata": [
"enactment:2023-11-20T17:59:33Z",
"settlement:2023-11-19T17:59:33Z",
"source:docs.vega.xyz"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "43200",
"probability": "0.9999999",
"auctionExtension": "600"
}
]
},
"liquidityMonitoringParameters": {
"targetStakeParameters": {
"timeWindow": "3600",
"scalingFactor": 10
},
"triggeringRatio": "0.7",
"auctionExtension": "1"
},
"logNormal": {
"tau": 0.0001140771161,
"riskAversionParameter": 0.01,
"params": {
"mu": 0,
"r": 0.016,
"sigma": 0.15
}
},
"liquiditySlaParameters": {
"priceRange": "0.1",
"commitmentMinTimeFraction": "0.1",
"performanceHysteresisEpochs": "10",
"slaCompetitionFactor": "0.2"
}
}
},
"closingTimestamp": 1700416773,
"enactmentTimestamp": 1700503173
}
}
}'
- Copy the command line example below into a text editor.
- Replace the placeholder values with those you want in the proposal.
- Tip: Use markdown formatting in your proposal's rationale to make for easier community review.
- Connect to your Vega wallet and use the command line to submit your proposal.
- Check you can see your proposal under Open Proposals on the governance dApp ↗.
vegawallet.exe transaction send --wallet YOUR_WALLETNAME --pubkey YOUR_PUBLIC_KEY --network NETWORK_NAME ^
"{^
\"proposalSubmission\": {^
\"rationale\": {^
\"title\": \"Add Lorem Ipsum market\",^
\"description\": \"An example proposal to add Lorem Ipsum market\"^
},^
\"terms\": {^
\"newMarket\": {^
\"changes\": {^
\"linearSlippageFactor\": \"0.001\",^
\"quadraticSlippageFactor\": \"0\",^
\"decimalPlaces\": \"5\",^
\"positionDecimalPlaces\": \"5\",^
\"instrument\": {^
\"name\": \"Oranges Daily\",^
\"code\": \"ORANGES.24h\",^
\"future\": {^
\"settlementAsset\": \"8b52d4a3a4b0ffe733cddbc2b67be273816cfeb6ca4c8b339bac03ffba08e4e4\",^
\"quoteName\": \"tEuro\",^
\"dataSourceSpecForSettlementData\": {^
\"external\": {^
\"oracle\": {^
\"signers\": [^
{^
\"ethAddress\": {^
\"address\": \"0xfCEAdAFab14d46e20144F48824d0C09B1a03F2BC\"^
}^
}^
],^
\"filters\": [^
{^
\"key\": {^
\"name\": \"prices.ORANGES.value\",^
\"type\": \"TYPE_INTEGER\",^
\"numberDecimalPlaces\": \"5\"^
},^
\"conditions\": [^
{^
\"operator\": \"OPERATOR_GREATER_THAN\",^
\"value\": \"0\"^
}^
]^
},^
{^
\"key\": {^
\"name\": \"prices.ORANGES.timestamp\",^
\"type\": \"TYPE_INTEGER\"^
},^
\"conditions\": [^
{^
\"operator\": \"OPERATOR_GREATER_THAN\",^
\"value\": \"1648684800\"^
}^
]^
}^
]^
}^
}^
},^
\"dataSourceSpecForTradingTermination\": {^
\"internal\": {^
\"time\": {^
\"conditions\": [^
{^
\"operator\": \"OPERATOR_GREATER_THAN_OR_EQUAL\",^
\"value\": \"1648684800\"^
}^
]^
}^
}^
},^
\"dataSourceSpecBinding\": {^
\"settlementDataProperty\": \"prices.ORANGES.value\",^
\"tradingTerminationProperty\": \"vegaprotocol.builtin.timestamp\"^
}^
}^
},^
\"metadata\": [^
\"enactment:2023-11-20T17:59:33Z\",^
\"settlement:2023-11-19T17:59:33Z\",^
\"source:docs.vega.xyz\"^
],^
\"priceMonitoringParameters\": {^
\"triggers\": [^
{^
\"horizon\": \"43200\",^
\"probability\": \"0.9999999\",^
\"auctionExtension\": \"600\"^
}^
]^
},^
\"liquidityMonitoringParameters\": {^
\"targetStakeParameters\": {^
\"timeWindow\": \"3600\",^
\"scalingFactor\": 10^
},^
\"triggeringRatio\": \"0.7\",^
\"auctionExtension\": \"1\"^
},^
\"logNormal\": {^
\"tau\": 0.0001140771161,^
\"riskAversionParameter\": 0.01,^
\"params\": {^
\"mu\": 0,^
\"r\": 0.016,^
\"sigma\": 0.15^
}^
},^
\"liquiditySlaParameters\": {^
\"priceRange\": \"0.1\",^
\"commitmentMinTimeFraction\": \"0.1\",^
\"performanceHysteresisEpochs\": \"10\",^
\"slaCompetitionFactor\": \"0.2\"^
}^
}^
},^
\"closingTimestamp\": 1700416773,^
\"enactmentTimestamp\": 1700503173^
}^
}^
}"
Voting
All proposals are voted on by the community.
Building support is down to you. Share your proposal in the Market Proposals section ↗ on the community forum. You may also wish to share on Discord ↗.
A vote can be submitted with a transaction on the command line, or by using the governance dApp.
To vote, community members need, at a minimum, the larger of 🔗1 token, or 🔗1 token associated with their Vega key.
Your proposal will need participation of 🔗1% and a majority of 🔗66%, so having community support is essential.
Proposers who invite feedback, engage with comments, and make revisions to meet the needs of the community are more likely to be successful.
Learn more about voting on the governance concepts page.
Enactment
If successful, the proposal will be enacted at the time you specify in the enactmentTimestamp
field, or as soon as the opening auction has successfully concluded, whichever is later.