public void Feed(ref Manager Manager, ref RatesIndicator RateIndicator) { this.Manager = Manager; this.RateIndicator = RateIndicator; this.ChartMain.Start(); Timers.Run(() => PeacemakerUpdate(), 250, null, true, true, true); }
public Archive(KrakenManager Manager) { this.Manager = Manager; Methods.Run(() => this.Initialize(), null); Timers.Run(() => this.TimerOrders(), 10000, null, true, true); }
public void Start() { this.Init(); ChartMain.MouseMove += ChartMain_MouseMove; ChartMain.MouseWheel += ChartMain_MouseWheel; ChartMain.MouseEnter += ChartMain_MouseEnter; ChartMain.MouseLeave += ChartMain_MouseLeave; ChartMain.AxisViewChanged += ChartMain_AxisViewChanged; ChartMain.AxisScrollBarClicked += ChartMain_AxisScrollBarClicked; ChartMain.MouseDown += ChartMain_MouseDown; ChartMain.MouseUp += ChartMain_MouseUp; Timers.Run(() => this.PeacemakerCursor(), 10, 1000, null, true, true);// Timers.Run(() => this.PeacemakerLabels(), 100, 1000, null, true, true); Started = true; }
public SerialPort(int bufferSize = 1024) { Data = new BufferedArray <string>(bufferSize); _serialPort.DataReceived += SerialPortMain_DataReceived; _serialPort.ReadTimeout = 4000; _serialPort.WriteTimeout = 6000; Timers.Run(() => Peacemaker(), 1000); }
public void InitializeTimers() { if (Timers != null) { return; } Timers = new ThreadedTimers(10); Timers.Run(() => this.Update(), 1000, null, true, false); }
public KrakenManager(string APIKey, string PrivateKey) { this.APIKey = APIKey; this.PrivateKey = PrivateKey; this.AntiFlood = new ThreadedAntiFlood(TickTime.Default, 5000, TickTime.Unit.ms); this.Archive = new Archive(this); Timers.Run(() => TimerArchive(), 10000, null, false, true); InitializeServerTime(); InitializeAssetPairs(); InitializeBalance(); InitializeTickers(); InitializeAssetInfos(); InitializeTradeVolume(); }
public Form1() { double dp = Doubles.Parse("19,315", 3); if (dp == 0) { return; } APPNAME = "AsmodatForexDataManager"; InitializeComponent(); TbxHostName.Text = "demorates.efxnow.com"; TbxPorts.Text = "443, 3020"; TbxUserID.Text = "*****@*****.**"; TbxPassword.Text = "mateusz"; TbxBrandCode.Text = "GCUK"; Timers.Run(() => this.PeacemakerUpdate(), 1000, null, true, true); }
//Thread ThrdStart; public void Start() { //TimeoutReceived.Reset(); Timers.Run(() => Timer_Restart(), 1000);//, null, true, false); }
public void Feed(ref Manager Manager) { this.Manager = Manager; Timers.Run(() => MainTimer(), 200, null, true, true, true); }
public void Feed(ref Manager Manager) { this.Manager = Manager; Timers.Run(() => PeacemakerUpdate(), 1000, null, true, true, true); }