Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderChance" /> class.
 /// </summary>
 /// <param name="bidFee">매수 수수료 비율.</param>
 /// <param name="askFee">매도 수수료 비율.</param>
 /// <param name="market">market.</param>
 /// <param name="bidAccount">bidAccount.</param>
 /// <param name="askAccount">askAccount.</param>
 public OrderChance(string bidFee = default(string), string askFee = default(string), Market market = default(Market), BidAccount bidAccount = default(BidAccount), AskAccount askAccount = default(AskAccount))
 {
     this.BidFee     = bidFee;
     this.AskFee     = askFee;
     this.Market     = market;
     this.BidAccount = bidAccount;
     this.AskAccount = askAccount;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Market" /> class.
 /// </summary>
 /// <param name="id">마켓 ID.</param>
 /// <param name="name">마켓 이름.</param>
 /// <param name="orderTypes">지원 주문 방식.</param>
 /// <param name="orderSides">지원 주문 종류.</param>
 /// <param name="bid">bid.</param>
 /// <param name="ask">ask.</param>
 /// <param name="maxTotal">최대 매도/매수 금액.</param>
 /// <param name="state">마켓 운영 상태.</param>
 /// <param name="bidAccount">bidAccount.</param>
 /// <param name="askAccount">askAccount.</param>
 public Market(string id = default(string), string name = default(string), List <string> orderTypes = default(List <string>), List <string> orderSides = default(List <string>), Bid bid = default(Bid), Ask ask = default(Ask), string maxTotal = default(string), string state = default(string), BidAccount bidAccount = default(BidAccount), AskAccount askAccount = default(AskAccount))
 {
     this.Id         = id;
     this.Name       = name;
     this.OrderTypes = orderTypes;
     this.OrderSides = orderSides;
     this.Bid        = bid;
     this.Ask        = ask;
     this.MaxTotal   = maxTotal;
     this.State      = state;
     this.BidAccount = bidAccount;
     this.AskAccount = askAccount;
 }