Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

perps_param

Global perps parameters: fee schedules, OI caps, funding period, batch size, vault settings.

These chain-wide knobs include the volume-tiered maker_fee_rates / taker_fee_rates, protocol_fee_rate (treasury cut), liquidation_fee_rate and liquidation_buffer_ratio, the global funding_period, vault settings (vault_cooldown_period, vault_total_weight, vault_deposit_cap), and the referral master switch (referral_active, min_referrer_volume, referrer_commission_rates). Per-pair fields live in pair_param.

Signature

def perps_param(self) -> Param

Example

from dango.info import Info
from dango.utils.constants import MAINNET_API_URL
 
info = Info(MAINNET_API_URL, skip_ws=True)
params = info.perps_param()
print(params["max_action_batch_size"], params["funding_period"])

Returns

Param — TypedDict with global perps configuration. See Param for the full field list.

See also