Ejemplo n.º 1
0
 public CBotSingleInstrument(int botId, string name, CSettingsBot settingsBot, Dictionary <string, string> dictSettingsStrategy,
                             /*CPlaza2Connector*/ IDealingServer plaza2Connector) :
     base(botId, name, settingsBot, dictSettingsStrategy, plaza2Connector)
 {
     // m_isin = settingsBot.ListIsins[0];
     // m_parLot = settingsBot.TradingSettings[m_isin].Lot;
 }
Ejemplo n.º 2
0
        public CBotTrader(int botId, string name, CSettingsBot settingsBot, Dictionary <string, string> settingsStrategy,
                          /*CPlaza2Connector*/ IDealingServer plaza2Connector) :
            base(botId, name, settingsBot, settingsStrategy, plaza2Connector)
        {
            _tradersDispatcher = plaza2Connector.TradersDispatcher;

            InitData();
        }
Ejemplo n.º 3
0
 public CBotTester(int botId, string name, CSettingsBot settingsBot,
                   Dictionary <string, string> dictSettingsStrategy, /*CPlaza2Connector*/ IDealingServer plaza2Connector) :
     base(botId, name, settingsBot, dictSettingsStrategy, plaza2Connector)
 {
     SetState(EnmStratStates._000_PreInitial);
 }
Ejemplo n.º 4
0
 public CBotHighLowContra(int botId, string name, CSettingsBot settingsBot, Dictionary <string, string> dictSettingsStrategy,
                          /*CPlaza2Connector*/ IDealingServer plaza2Connector) :
     base(botId, name, settingsBot, dictSettingsStrategy, plaza2Connector)
 {
 }