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:
parent
15657ba683
commit
b5893c3b60
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user