1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package com.yami.trading.service;
|
| /**
| * @program: trading-order-master
| * @description: 强平价格计算
| * @create: 2025-01-15 15:56
| **/
| public interface StrongLevelCalculationService {
| public double calculateLiquidationPrice ( double marginBalance, double faceValue, double contractQuantity,
| double openingPrice, double maintenanceMarginRate, double feeRate);
|
|
| public double calculateEmptyLiquidationPrice ( double marginBalance, double faceValue, double contractQuantity,
| double openingPrice, double maintenanceMarginRate, double feeRate);
| }
|
|