lib

package
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNetCollateralAndMarginRequirements

func GetNetCollateralAndMarginRequirements(
	id uint32,
	bigQuantums *big.Int,
) (
	risk margin.Risk,
	err error,
)

GetNetCollateralAndMarginRequirements returns the net collateral, initial margin, and maintenance margin that a given position (quantums) for a given assetId contributes to an account.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL