Expand description
Entrypoint messages for the market
Structs§
- Closed
Position Cursor - A cursor used for paginating the closed position history
- Closed
Positions Resp - Return value from QueryMsg::ClosedPositionHistory
- Delta
Neutrality FeeResp - Response for QueryMsg::DeltaNeutralityFee
- Executed
Limit Order - History information on a limit order which was triggered.
- Fees
- Fees held within the market contract.
- Initial
Price - Initial price when instantiating a contract
- Instantiate
Msg - The InstantiateMsg comes from Factory only
- Limit
Order History Resp - Response for QueryMsg::LimitOrderHistory
- Limit
Order Resp - Return value from QueryMsg::LimitOrder.
- Limit
Orders Resp - Response for QueryMsg::LimitOrders
- Liquidity
Cooldown - When a liquidity cooldown period will end
- LpAction
- A distinct lp history action
- LpAction
History Resp - Response for QueryMsg::LpActionHistory
- LpHistory
Summary - The summary for LP history
- LpInfo
Resp - Returned by QueryMsg::LpInfo
- Migrate
Msg - Placeholder migration message
- NewCopy
Trading Params - Parameter for the copy trading parameter
- NewCounter
Trade Params - Parameters passed as part of factory contract
- NewMarket
Params - Config info passed on to all sub-contracts in order to add a new market.
- Oracle
Price Feed Pyth Resp - Part of OraclePriceResp
- Oracle
Price Feed Rujira Resp - Part of OraclePriceResp
- Oracle
Price Feed SeiResp - Part of OraclePriceResp
- Oracle
Price Feed Simple Resp - Part of OraclePriceResp
- Oracle
Price Feed Stride Resp - Part of OraclePriceResp
- Oracle
Price Resp - Response for QueryMsg::OraclePrice
- Position
Action - A distinct position history action
- Position
Action History Resp - Response for QueryMsg::PositionActionHistory
- Price
ForQuery - Use this price as the current price during a query.
- Price
Would Trigger Resp - Would a price update trigger a liquidation/take profit/etc?
- Referral
Stats Resp - Returned by QueryMsg::ReferralStats
- Slippage
Assert - There are two sources of slippage in the protocol:
- Spot
Price History Resp - Response for QueryMsg::SpotPriceHistory
- Status
Resp - Overall market status information
- Trade
History Summary - The summary for trade history
- Trader
Action History Resp - Response for QueryMsg::TraderActionHistory
- Unstaking
Status - Status of an ongoing unstaking process.
Enums§
- Execute
Msg - Execute message for the market contract
- Execute
Owner Msg - Owner-only messages
- Limit
Order Result - The result of triggering a limit order
- LpAction
Kind - Kind of action for a LpAction.
- Position
Action Kind - Action taken by trader for a PositionAction
- Positions
Query FeeApproach - When querying an open position, how do we calculate PnL vis-a-vis fees?
- Query
Msg - Query messages on the market contract
- Stop
Loss - Stop loss configuration
- SudoMsg
- Sudo message for the market contract