Ejemplo n.º 1
0
 public AccountReporter(string _AccountNumber, int connectionPort)
 {
     // Variables
     runDate       = DateTime.Now;
     AccountNumber = _AccountNumber;
     ibClient      = new IntBrokerSocket(0, connectionPort);
 }
Ejemplo n.º 2
0
 public DataManager(DashboardManager DashboardMgr, string _symbol, string _right, bool _IncludeOppositeWing, int _clientId, bool _ReadInContract, string _secType = "STK", String _readInContractAdd = "")
 {
     dbm         = DashboardMgr;
     clientID    = _clientId;
     ibClient    = new IntBrokerSocket(clientID, Control.connectionPort);
     this_symbol = _symbol;
     initiateDataTable();
     ReadInContract      = _ReadInContract;
     readInContractAdd   = _readInContractAdd;
     right               = _right;
     IncludeOppositeWing = _IncludeOppositeWing;
     symbolPrice         = getSymbolPrice(_secType);
 }
Ejemplo n.º 3
0
 public OrderManager(string _orderSheet)
 {
     ibClient   = new IntBrokerSocket(0, OControl.connectionPort);
     OrderSheet = _orderSheet;
     nextID     = ibClient.reqIDs();
 }