Module market

Module market 

Source
Expand description

Messages for the perps market contract.

The market contract contains the vast majority of functionality within perps, and handles trading, liquidity providing, history, and more.

Modulesยง

config
Market-wide configuration
crank
Data types and events for cranking.
deferred_execution
Deferred execution work items.
delta_neutrality_fee
Events around the delta neutrality fee
entry
Entrypoint messages for the market
fees
Events and helper methods for fees.
history
History data types
liquidity
Data types for tracking liquidity
order
Data types for limit orders
position
Data structures and events for positions
spot_price
Spot price data structures