Update package versions in csproj and package.json files
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Managing.Infrastructure.Exchanges.Helpers
|
||||
|
||||
return new Trade(data.CreateTime,
|
||||
(data.Side == OrderSide.Buy) ? TradeDirection.Long : TradeDirection.Short,
|
||||
(TradeStatus)data.Status, (TradeType)data.OriginalType, MiscExtensions.ParseEnum<Ticker>(data.Symbol), data.Quantity, data.AvgPrice, 1,
|
||||
(TradeStatus)data.Status, (TradeType)data.OriginalType, MiscExtensions.ParseEnum<Ticker>(data.Symbol), data.Quantity, data.AveragePrice, 1,
|
||||
data.ClientOrderId, "");
|
||||
}
|
||||
|
||||
@@ -67,10 +67,9 @@ namespace Managing.Infrastructure.Exchanges.Helpers
|
||||
"", result.Error?.Message);
|
||||
}
|
||||
|
||||
return new Trade(data.UpdateTime,
|
||||
(data.PositionSide == PositionSide.Long) ? TradeDirection.Long : TradeDirection.Short,
|
||||
(TradeStatus)data.Status, (TradeType)data.OriginalType, MiscExtensions.ParseEnum<Ticker>(data.Symbol), data.Quantity, data.Price, leverage,
|
||||
data.ClientOrderId, "");
|
||||
return new Trade(DateTime.Now, TradeDirection.None,
|
||||
TradeStatus.Cancelled, TradeType.Market, Ticker.BTC, 0, 0, 0,
|
||||
"", result.Error?.Message);
|
||||
}
|
||||
|
||||
public static Candle Map(IBinanceKline binanceKline, Ticker ticker, Enums.TradingExchanges exchange)
|
||||
@@ -191,5 +190,14 @@ namespace Managing.Infrastructure.Exchanges.Helpers
|
||||
}
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal static object Map(WebCallResult<BinanceUsdFuturesOrder> binanceResult, decimal? leverage)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public class BinanceFuturesPlacedOrder
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user