Ejemplo n.º 1
0
 /// <summary>
 /// Constructer with dependency injection for unit test project.
 /// </summary>
 /// <param name="request"></param>
 internal OkexTokenAPI(OkexWebRequest request)
 {
     this.request = request;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructer.
 /// </summary>
 /// <param name="apiKey">key</param>
 /// <param name="apiSecret">secret</param>
 /// <param name="apiPassphrase">passphrase</param>
 public OkexTokenAPI(string apiKey, string apiSecret, string apiPassphrase)
 {
     request = new OkexWebRequest("/api/spot/v3", apiKey, apiSecret, apiPassphrase);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Default constructer.
 /// </summary>
 public OkexTokenAPI()
 {
     request = new OkexWebRequest("/api/spot/v3");
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Constructer with dependency injection for unit test project.
 /// </summary>
 /// <param name="request"></param>
 internal OkexSwapAPI(OkexWebRequest request)
 {
     this.request = request;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Constructer.
 /// </summary>
 /// <param name="apiKey">key</param>
 /// <param name="apiSecret">secret</param>
 /// <param name="apiPassphrase">passphrase</param>
 public OkexSwapAPI(string apiKey, string apiSecret, string apiPassphrase)
 {
     request = new OkexWebRequest("/api/swap/v3", apiKey, apiSecret, apiPassphrase);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Default constructer.
 /// </summary>
 public OkexSwapAPI()
 {
     request = new OkexWebRequest("/api/swap/v3");
 }