Skip to content

Commit

Permalink
Alpaca
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiusgreat committed May 3, 2024
1 parent 3f1b35d commit 8f4378b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gateways/Alpaca/Libs/Adapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ protected async Task<ResponseItemModel<OrderModel>> CancelOrder(OrderModel order

if (exResponse.Status < 400)
{
Account.ActiveOrders.Add(order.Transaction.Id, order);
Account.ActiveOrders.Remove(order.Transaction.Id);
}
}
catch (Exception e)
Expand Down

0 comments on commit 8f4378b

Please sign in to comment.