Exemplo n.º 1
0
        public Seller(Treader treder, double amount)
        {
            var price = treder.Tracker.Leap.LastPt.Course;

            BuyOrder   = new Order(treder.Market.Name, price, amount);
            _delta     = 0;
            _apiDriver = treder.Market.Api;
        }
Exemplo n.º 2
0
        private void BtnAddTreader_OnClick(object sender, RoutedEventArgs e)
        {
            Treader treader = TreaderFactory.CreateTreader;
            var     f       = new FrmTreaderEditor(treader);

            if (f.ShowDialog() != true)
            {
                return;
            }
            TM.Add(treader);
        }
Exemplo n.º 3
0
 public FrmTreaderEditor(Treader treader)
 {
     InitializeComponent();
     DataContext = treader;
 }