UpdateMapService Map_AccountSymbolsHistory bug fixed

This commit is contained in:
Ivan Nikolaev-Axenov 2024-10-07 17:05:56 +03:00
parent 0e8d469a70
commit 11a0fe54c3

View file

@ -214,7 +214,7 @@ public class UpdateMapService extends AbstractUpdateMapService {
AccountSymbolsHistory accountSymbolsHistory = new AccountSymbolsHistory();
createBusinessEvent(accountSymbolsHistory, eventType);
accountSymbolsHistory.setObject((AccountSymbols) value);
hazelcastServerInstance.getMap(IMDGDistributedNames.Map_TradingClearingRegistryHistory).put(accountSymbolsHistory.getId(), accountSymbolsHistory);
hazelcastServerInstance.getMap(IMDGDistributedNames.Map_AccountSymbolsHistory).put(accountSymbolsHistory.getId(), accountSymbolsHistory);
} else if (value instanceof CurrencyPairSecurity) {
CurrencyPairSecurityHistory currencyPairSecurityHistory = new CurrencyPairSecurityHistory();
createBusinessEvent(currencyPairSecurityHistory, eventType);