All URIs are relative to https://www.bitmex.com/api/v1
Method | HTTP request | Description |
---|---|---|
StatsGet | GET /stats | Get exchange-wide and per-series turnover and volume statistics. |
StatsHistory | GET /stats/history | Get historical exchange-wide and per-series turnover and volume statistics. |
StatsHistoryUSD | GET /stats/historyUSD | Get a summary of exchange statistics in USD. |
List StatsGet ()
Get exchange-wide and per-series turnover and volume statistics.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class StatsGetExample
{
public void main()
{
var apiInstance = new StatsApi();
try
{
// Get exchange-wide and per-series turnover and volume statistics.
List<Stats> result = apiInstance.StatsGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling StatsApi.StatsGet: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List StatsHistory ()
Get historical exchange-wide and per-series turnover and volume statistics.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class StatsHistoryExample
{
public void main()
{
var apiInstance = new StatsApi();
try
{
// Get historical exchange-wide and per-series turnover and volume statistics.
List<StatsHistory> result = apiInstance.StatsHistory();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling StatsApi.StatsHistory: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List StatsHistoryUSD ()
Get a summary of exchange statistics in USD.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class StatsHistoryUSDExample
{
public void main()
{
var apiInstance = new StatsApi();
try
{
// Get a summary of exchange statistics in USD.
List<StatsUSD> result = apiInstance.StatsHistoryUSD();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling StatsApi.StatsHistoryUSD: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]