This commit is contained in:
parent
1a3aee9c28
commit
a88dd57857
2 changed files with 1 additions and 1 deletions
|
|
@ -75,6 +75,7 @@ public class OrderCalculationService {
|
||||||
|
|
||||||
order.setPrice(price);
|
order.setPrice(price);
|
||||||
order.setQuantityLot(quantityLot);
|
order.setQuantityLot(quantityLot);
|
||||||
|
order.setRate(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
private CalculationResult calculationSums(Registry registry, Integer lotSize, BigDecimal s, BigDecimal n) {
|
private CalculationResult calculationSums(Registry registry, Integer lotSize, BigDecimal s, BigDecimal n) {
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,6 @@ public class OrderTemplateBuilder {
|
||||||
order.setSecuritySymbol(listing.getSymbolCode());
|
order.setSecuritySymbol(listing.getSymbolCode());
|
||||||
order.setSecurityId(listing.getSecurityId());
|
order.setSecurityId(listing.getSecurityId());
|
||||||
order.setLotSize(listing.getLotSize());
|
order.setLotSize(listing.getLotSize());
|
||||||
order.setRate(riskParameter.getQuoteValue());
|
|
||||||
order.setSide(side.getKey());
|
order.setSide(side.getKey());
|
||||||
order.setSettleCode(settleCode.getKey());
|
order.setSettleCode(settleCode.getKey());
|
||||||
order.setStatus("CRET");
|
order.setStatus("CRET");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue