ExecutionDeposit - always money
This commit is contained in:
parent
15d950bee8
commit
14915bf450
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,8 @@ public class RegistryBuilder {
|
||||||
String capacityByAccount = null;
|
String capacityByAccount = null;
|
||||||
boolean isMoney = false;
|
boolean isMoney = false;
|
||||||
Account account = null;
|
Account account = null;
|
||||||
if ((regDsgn.equals(RegistryDesignation.O) && side.isBuy()) || (regDsgn.equals(RegistryDesignation.T) && side.isSell())) {
|
if ((regDsgn.equals(RegistryDesignation.O) && side.isBuy()) || (regDsgn.equals(RegistryDesignation.T) && side.isSell())
|
||||||
|
|| exec.type().equals(ExecutionType.ExecutionDeposit)) {
|
||||||
isMoney = true;
|
isMoney = true;
|
||||||
reg.setAccountId(tcr.getMoneyAccountId());
|
reg.setAccountId(tcr.getMoneyAccountId());
|
||||||
account = accountImdg.getSingleObjectByID(tcr.getMoneyAccountId());
|
account = accountImdg.getSingleObjectByID(tcr.getMoneyAccountId());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue