public PairsResponse() { Name = "PairsResponse"; isValid = true; pairs = new PairsTracker("WAG", "FRX", .78m, 10); pairs.SpreadOutsideBounds += new DecimalDelegate(pairs_SpreadOutsideBounds); }
public override void Reset() { // get parameters from user if we're not running in auto ParamPrompt.Popup(this, !_auto, _auto); // create pairs tracker if not already if (pairs == null) { pairs = new PairsTracker(Asym, Bsym, RatioA2B, BasisPointEntry); pairs.SpreadOutsideBounds += new DecimalDelegate(pairs_SpreadOutsideBounds); } // subscribe to symbols sendbasket(new string[] { Asym, Bsym }); D("Subscribed to pair: [" + Asym + "," + Bsym + "]"); }
public override void Reset() { // get parameters from user if we're not running in auto ParamPrompt.Popup(this, !_auto,_auto); // create pairs tracker if not already if (pairs == null) { pairs = new PairsTracker(Asym, Bsym, RatioA2B, BasisPointEntry); pairs.SpreadOutsideBounds += new DecimalDelegate(pairs_SpreadOutsideBounds); } // subscribe to symbols sendbasket(new string[] { Asym, Bsym }); D("Subscribed to pair: [" + Asym + "," + Bsym+"]"); }