Beispiel #1
0
 /// <summary>
 /// 初期化
 /// </summary>
 /// <param name="option"><see cref="ApiClientOption"/>オブジェクト。</param>
 public FutureApi(ApiClientOption option)
     : this(new ApiClient(ApiUrl.Future, option))
 {
 }
Beispiel #2
0
 /// <summary>
 /// 初期化
 /// </summary>
 /// <param name="endpoint">APIのエンドポイント</param>
 /// <param name="option"><see cref="ApiClientOption"/>オブジェクト。</param>
 internal ApiClient(string endpoint, ApiClientOption option)
 {
     _endpoint = endpoint;
     _option   = option;
 }
Beispiel #3
0
 /// <summary>
 /// 初期化
 /// </summary>
 /// <param name="option"><see cref="ApiClientOption"/>オブジェクト。</param>
 public TradeApi(ApiClientOption option)
     : this(new ApiClient(ApiUrl.Trade, option))
 {
 }
Beispiel #4
0
 /// <summary>
 /// 初期化
 /// </summary>
 /// <param name="option"><see cref="ApiClientOption"/>オブジェクト。</param>
 public PublicApi(ApiClientOption option)
     : this(new ApiClient(ApiUrl.Public, option))
 {
 }
Beispiel #5
0
 /// <summary>
 /// 初期化
 /// </summary>
 /// <param name="option"><see cref="ApiClientOption"/>オブジェクト。</param>
 public LeverageApi(ApiClientOption option)
     : this(new ApiClient(ApiUrl.Leverage, option))
 {
 }