Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 5 0.53 KB | None | 0 0
  1.         PropertySet ps = new PropertySet(solutionName);
  2.         SingleProperty portfolioProperty = ps.addSingleProperty(MarketDataInfo.PORTFOLIO_ID_PARAM_NAME, MarketDataInfo.PORTFOLIO_ID_PARAM_NAME, PropertyType.STRING());
  3.         portfolioProperty.setValue("4011");
  4.         SingleProperty namesProperty = ps.addSingleProperty(MarketDataInfo.SUBSCRIPTON_LIST_PARAM_NAME, MarketDataInfo.SUBSCRIPTON_LIST_PARAM_NAME, PropertyType.STRING());
  5.         namesProperty.setValue("AAPL,ORCL");
  6.         symbolMonitor.update("SYMBOLMARKER", ps);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement