Exemplo n.º 1
0
        private STR_Watch(
            String input,
            String strategyName)
        {
            _input = input;
            _strategyName = strategyName;
            _agent = new Agent(this, GetAccounts());

            RegisterWatchList(input);
        }
Exemplo n.º 2
0
 public void InitAgent_2()
 {
     List<Account> accounts = new List<Account>();
     accounts.Add(FutureAccount);
     _agent = new Agent(this, accounts);
     this._bReadyAgent = true;
 }
Exemplo n.º 3
0
 // agent를 설정한다.
 // 이 계좌를 소유하고 있는 account를 반환한다.
 public void SetAgent(Agent agent)
 {
     _agent = agent;
     if (_agent != null)
     {
         _bOccupied = true;
     }
     else
     {
         _bOccupied = false;
     }
 }
Exemplo n.º 4
0
        public void InitAgent_2()
        {
            List<Account> accounts = GetAccounts();

            _agent = new Agent(this, accounts);

            this._bReadyAgent_2 = true;
        }