public MainPageViewModel(OrdersRepository repository) {
            this.repository = repository;
            Orders = repository.Orders;
			this.SwipeButtonCommand = new Command((o) => SwipeButtonClickExecute(o));
			this.refreshCommand = new Command(ExecuteRefreshCommand);
            this.market = new MarketSimulator();
        }
 public MainPageViewModel(OrdersRepository repository)
 {
     this.repository         = repository;
     Orders                  = repository.Orders;
     this.SwipeButtonCommand = new Command((o) => SwipeButtonClickExecute(o));
     this.refreshCommand     = new Command(ExecuteRefreshCommand);
     this.market             = new MarketSimulator();
 }