コード例 #1
0
 public PlaceOrdersParameterWriter(string marketId, string customerRef, IList<PlaceInstruction> placeInstructions)
 {
     this.marketId = marketId;
     this.customerRef = customerRef;
     this.placeInstructions = placeInstructions;
     this.parameterWriter = new ParameterWriter();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ListCurrentOrdersParameterWriter"/> class.
 /// </summary>
 /// <param name="betIds"></param>
 /// <param name="marketIds"></param>
 /// <param name="orderProjection"></param>
 public ListCurrentOrdersParameterWriter(ISet<string> betIds, ISet<string> marketIds, OrderProjection orderProjection = OrderProjection.ALL)
 {
     this.betIds = betIds;
     this.marketIds = marketIds;
     this.orderProjection = orderProjection;
     this.parameterWriter = new ParameterWriter();
 }
コード例 #3
0
        public LoginParameterWriter(string username, string password)
        {
            this.username = username;
            this.password = password;

            this.parameterWriter = new ParameterWriter();
        }
コード例 #4
0
 public MarketCatalogueParameterWriter(MarketFilter filter, int maxResults, ISet<MarketProjection> marketProjection)
 {
     this.filter = filter;
     this.maximumResults = maxResults;
     this.projection = marketProjection;
     this.parameterWriter = new ParameterWriter();
 }
コード例 #5
0
 public MarketBookParameterWriter(IList<string> marketIds, PriceProjection priceProjection, OrderProjection orderProjection, MatchProjection matchProjection)
 {
     this.marketIds = marketIds;
     this.priceProjection = priceProjection;
     this.orderProjection = orderProjection;
     this.matchProjection = matchProjection;
     this.parameterWriter = new ParameterWriter();
 }