Skip to content

Commit bca8af7

Browse files
committed
remove excessive IsPostOnly check in ExchangeAPI.cs
- one too many IsPostOnly checks were added
1 parent 3f1b463 commit bca8af7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,6 @@ public virtual async Task<Dictionary<string, decimal>> GetMarginAmountsAvailable
972972
public virtual async Task<ExchangeOrderResult> PlaceOrderAsync(ExchangeOrderRequest order)
973973
{
974974
// *NOTE* do not wrap in CacheMethodCall
975-
if (order.IsPostOnly != null) throw new NotImplementedException("Post Only orders are not supported by this exchange or not implemented in ExchangeSharp. Please submit a PR if you are interested in this feature.");
976975
await new SynchronizationContextRemover();
977976
order.MarketSymbol = NormalizeMarketSymbol(order.MarketSymbol);
978977
return await OnPlaceOrderAsync(order);

0 commit comments

Comments
 (0)