public static IEnumerable <IBPortfolioModel> UpdatePortfolio(IBCore _ibcore) { var ibport = _ibcore._Portfolios; var accountname = _ibcore._AccountName; var staticdata = SQLQueryAccessor.GetIbStaticData(); RefreshStrategyMapping(ibport, accountname); RefreshOptionStrategyMapping(ibport); RefreshStaticData(ibport, staticdata); return(ibport); }
public void Login(int port, int id) { m_ibcore = new IBCore(); m_ibcore.Login(port, id); }