Skip to content

Commit

Permalink
MATP-1157 Implement Trade Suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
colinduplantis committed Apr 13, 2023
1 parent 4342ebe commit 18bc82b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,9 @@ private void buyOrSellAction(MarketDataItem inSelectedItem,
suggestion.setIdentifier("Market Data List View Action");
suggestion.setScore(BigDecimal.ONE);
suggestion.setOrder(orderSingle);
uiMessageService.post(new SuggestionEvent(inSide.name() + " " + inSelectedItem.symbolProperty().get(),
suggestion));
uiMessageService.post(applicationContext.getBean(SuggestionEvent.class,
inSide.name() + " " + inSelectedItem.symbolProperty().get(),
suggestion));
}
/**
* Prepare a nice, human-readable rendering of the given market data item.
Expand Down

0 comments on commit 18bc82b

Please sign in to comment.