Skip to content

Commit

Permalink
Fix close position response validations
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbair committed Oct 29, 2024
1 parent 9ba0dcf commit 1874b1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/models/definitions/order/trade_reduce.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ defmodule ExOanda.TradeReduce do
:quote_guaranteed_execution_fee, :half_spread_cost
])
|> validate_required([
:trade_id, :units, :price, :realized_pl, :financing, :base_financing,
:quote_financing, :financing_rate, :guaranteed_execution_fee,
:trade_id, :units, :price, :realized_pl, :financing,
:base_financing, :guaranteed_execution_fee,
:quote_guaranteed_execution_fee, :half_spread_cost
])
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ defmodule ExOanda.OrderCancelTransaction do
:request_id,
:type,
:order_id,
:client_order_id,
:reason,
:replaced_by_order_id
])
Expand Down

0 comments on commit 1874b1d

Please sign in to comment.