Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 public void Login(int port, int id)
 {
     m_ibcore = new IBCore();
     m_ibcore.Login(port, id);
 }