This commit is contained in:
parent
a8386a9ed9
commit
9e9a801bde
2 changed files with 3 additions and 8 deletions
|
|
@ -200,12 +200,7 @@ public class KSRepTradesReportBuilder extends CSVReportBuilder<EmptyParams, KSRe
|
|||
executionFond.getExchangeExecutionId());
|
||||
continue;
|
||||
}
|
||||
agreementNumber = "%s/%s/%s/%s".formatted(
|
||||
executionFond.getSecuritySymbol(),
|
||||
ddMMyyyyFormatter.format(executionFond.getTradingDate()),
|
||||
company.getTradingCode(),
|
||||
executionFond.getExchangeExecutionId()
|
||||
);
|
||||
agreementNumber = null;
|
||||
|
||||
BigDecimal quantity = executionFond.getQuantity() != null ? executionFond.getQuantity() : BigDecimal.ZERO;
|
||||
if (Arrays.asList(Side.SELL.getKey(), "S", "SELL").contains((executionFond.getSide())))
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
"SESSION_ID","SESSION_DATE","TR_ID","AGREEMENT_NUMBER","FIRM_ID","TKR","ACCOUNT","DEPO_ACCOUNT","CASH_LIABILITY","DEPO_LIABILITY","TRADE_NUM","CLASS_CODE","TRADE_DATE","STATUS"
|
||||
"4","20.01.1970T07:09:07","222","CONTRACT","TRADING_CODE","TKR","","","8888.89","0","222","3333","20.01.1970T02:49:58","0"
|
||||
"3","20.01.1970T15:54:43","222","SEC_SYM/10112023/TRADING_CODE/222","TRADING_CODE","TKR","","","-8888.89","123","222","3333","20.01.1970T02:49:58","1"
|
||||
"3","20.01.1970T15:54:43","222","SEC_SYM/10112023/TRADING_CODE/222","TRADING_CODE","TKR","","","8888.89","-123","222","3333","20.01.1970T02:49:58","1"
|
||||
"3","20.01.1970T15:54:43","222","","TRADING_CODE","TKR","","","-8888.89","123","222","3333","20.01.1970T02:49:58","1"
|
||||
"3","20.01.1970T15:54:43","222","","TRADING_CODE","TKR","","","8888.89","-123","222","3333","20.01.1970T02:49:58","1"
|
||||
|
|
|
|||
|
Loading…
Add table
Reference in a new issue