Skip to content

Commit

Permalink
update price on order
Browse files Browse the repository at this point in the history
(cherry picked from commit 5a5ec89)
  • Loading branch information
roman-struchev committed Apr 28, 2024
1 parent 176234a commit 286d6c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public synchronized OrderDomainEntity buy(CandleDomainEntity candle, AStrategy s
.strategy(strategy.getName())
.purchaseDateTime(candle.getDateTime())
.lots(lots)
.purchaseCommission(BigDecimal.ZERO)
.purchaseCommission(response.getCommission())
.details(orderDetails)
.build();
order = orderRepository.save(order);
Expand Down

0 comments on commit 286d6c9

Please sign in to comment.