Skip to content

Commit aa16a5e

Browse files
committed
make ExchangeOrderResult.Fees nullable
- not all exchanges provide this on every response
1 parent 2b4aa7e commit aa16a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExchangeSharp/Model/ExchangeOrderResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public sealed class ExchangeOrderResult
6868

6969
/// <summary>The fees on the order (not a percent).
7070
/// E.g. 0.0025 ETH</summary>
71-
public decimal Fees { get; set; }
71+
public decimal? Fees { get; set; }
7272

7373
/// <summary>The currency the fees are in.
7474
/// If not set, this is probably the base currency</summary>

0 commit comments

Comments
 (0)