1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-07 16:06:15 +00:00

Added PerAccount SharedLeverageSettingMode enum value, changed Side on SharedUserTrade to nullable

This commit is contained in:
Jkorf 2024-11-06 11:20:11 +01:00
parent 15657ba683
commit b5893c3b60
2 changed files with 7 additions and 3 deletions

View File

@ -12,6 +12,10 @@
/// <summary> /// <summary>
/// Leverage is configured for the symbol /// Leverage is configured for the symbol
/// </summary> /// </summary>
PerSymbol PerSymbol,
/// <summary>
/// Leverage is configured for the entire account
/// </summary>
PerAccount
} }
} }

View File

@ -34,7 +34,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Side of the trade /// Side of the trade
/// </summary> /// </summary>
public SharedOrderSide Side { get; set; } public SharedOrderSide? Side { get; set; }
/// <summary> /// <summary>
/// Fee paid for the trade /// Fee paid for the trade
/// </summary> /// </summary>
@ -51,7 +51,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public SharedUserTrade(string symbol, string orderId, string id, SharedOrderSide side, decimal quantity, decimal price, DateTime timestamp) public SharedUserTrade(string symbol, string orderId, string id, SharedOrderSide? side, decimal quantity, decimal price, DateTime timestamp)
{ {
Symbol = symbol; Symbol = symbol;
OrderId = orderId; OrderId = orderId;