OrderFees

Documentation for eth_defi.gmx.events.OrderFees Python class.

class OrderFees

Bases: object

Fees from GMX order execution.

All fee values are in token amounts (not USD).

Attributes summary

position_fee

Position fee amount

borrowing_fee

Borrowing fee amount

funding_fee

Funding fee amount

liquidation_fee

Liquidation fee amount (if applicable)

Methods summary

__init__([position_fee, borrowing_fee, ...])

position_fee: int

Position fee amount

borrowing_fee: int

Borrowing fee amount

funding_fee: int

Funding fee amount

liquidation_fee: int

Liquidation fee amount (if applicable)

__init__(position_fee=0, borrowing_fee=0, funding_fee=0, liquidation_fee=0)
Parameters
  • position_fee (int) –

  • borrowing_fee (int) –

  • funding_fee (int) –

  • liquidation_fee (int) –

Return type

None