关于空头买入平仓规则内容导航:
1、空头买入平仓规则
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
///
public void ShortClose(Order order, Order openOrder, double openPrice, DateTime openTime, double closePrice, DateTime closeTime,
OrderType openType, OrderType closeType, string openOrderID, string closeOrderID, string openOrderMessage, string closeOrderMessage,
double openOrderFee, double closeOrderFee, double openOrderLot, double closeOrderLot, double profit,
bool isStopLoss, bool isTakeProfit, bool isBreakeven, double stopLoss, double takeProfit, double breakeven, bool isManual,
bool isHedged, Order hedgedOrder, double hedgedLot, double hedgedPrice, double hedgedOpenPrice, double hedgedProfit,
string hedgedOrderMessage, string hedgedOrderID, double hedgedOrderFee, string hedgedOpenOrderID, string hedgedOpenOrderMessage,
double hedgedOpenOrderFee, double hedgedOpenOrderLot, Order hedgedOpenOrder, double hedgedOpenOrderPrice, DateTime hedgedOpenOrderTime,
string hedgedCloseOrderID, string hedgedCloseOrderMessage, double hedgedCloseOrderFee, double hedgedCloseOrderLot, Order hedgedCloseOrder,
double hedgedCloseOrderPrice, DateTime hedgedCloseOrderTime, OrderType hedgedOpenType, OrderType hedgedCloseType,
bool hedgedIsStopLoss, bool hedgedIsTakeProfit, bool hedgedIsBreakeven, double hedgedStopLoss, double hedgedTakeProfit, double hedgedBreakeven,
bool hedgedIsManual, bool hedgedIsHedged, Order hedgedHedgedOrder, double hedgedHedgedLot, double hedgedHedgedPrice, double hedgedHedgedOpenPrice,
double hedgedHedgedProfit, string hedgedHedgedOrderMessage, string hedgedHedgedOrderID, double hedgedHedgedOrderFee,
string hedgedHedgedOpenOrderID, string hedgedHedgedOpenOrderMessage, double hedgedHedgedOpenOrderFee, double hedgedHedgedOpenOrderLot,
Order hedgedHedgedOpenOrder, double hedgedHedgedOpenOrderPrice, DateTime hedgedHedgedOpenOrderTime, string hedgedHedgedCloseOrderID,
string hedgedHedgedCloseOrderMessage, double hedgedHedgedCloseOrderFee, double hedgedHedgedCloseOrderLot, Order hedgedHedgedCloseOrder,
double hedgedHedgedCloseOrderPrice, DateTime hedgedHedgedCloseOrderTime, OrderType hedgedHedgedOpenType, OrderType hedgedHedgedCloseType,
bool hedgedHedgedIsStopLoss, bool hedgedHedgedIsTakeProfit, bool hedgedHedgedIsBreakeven, double hedgedHedgedStopLoss, double hedgedHedgedTakeProfit,
double hedgedHedgedBreakeven, bool hedgedHedgedIsManual, bool hedgedHedgedIsHedged)
{
//更新账户信息
this.AccountInfo.FloatingProfit += profit;
this.AccountInfo.Balance += profit;
this.Account