示例#1
0
    public void Create(Signal signal_, IRSignalGrid grid_)
    {
      if (grid_ == null) return;
      m_grid = grid_;
      m_signal = signal_;
      setupTable();

      ApplyDisplayDoubleFormat("#0.##;(#0.##);#");

      base.ColourNegativesRed();

      Grid.MouseMove += handleGridMouseMove;

      Bind(m_dt);

      AutoSizeGridColumns();
    }
 public void Create(Signal sig_, DateTime initialDate_)
 {
   m_signal = sig_;
   dtpEvalEnd.DateTime = initialDate_;
   reload();
 }
示例#3
0
 public SignalWeights(Signal owningSignal_)
 {
   OwningSignal = owningSignal_;
 }
 protected FXStrategyWeights(Signal signal_)
 {
   OwningSignal = signal_;
 }
    public FXStrategyWeights_Wts(Signal sig_) : base(sig_)
    {

    }
示例#6
0
 public SignalPnlOverTime(Signal sig_, Currency ccy1_, Currency ccy2_)
   : base(sig_, string.Format("{0} {1}/{2} historical signal pnl", sig_.DisplayName, ccy1_.Code, ccy2_.Code), ccy1_, ccy2_)
 {
   Image = Properties.Resources.money;
 }
示例#7
0
 public Signal2CcysOverTime(Signal sig_, Currency ccy1_, Currency ccy2_)
   : base (sig_,string.Format("{0} {1}/{2} over time",sig_.DisplayName,ccy1_.Code,ccy2_.Code) ,ccy1_,ccy2_)
 {
   Image = Properties.Resources.multiLine;
 }
示例#8
0
 public SignalToolStripItem(Signal sig_, string text_, Currency ccy1_, Currency ccy2_)
   : base(text_)
 {
   m_signal = sig_;
   Text = text_;
   m_ccy1 = ccy1_;
   m_ccy2 = ccy2_;
   DisplayStyle = ToolStripItemDisplayStyle.ImageAndText;
 }
示例#9
0
 public IRSignalGridProvider(Signal owningSignal_)
 {
   m_owningSignal = owningSignal_;
 }