Skip to content
This repository has been archived by the owner on Nov 25, 2021. It is now read-only.

Latest commit

 

History

History
54 lines (37 loc) · 1.42 KB

LinearMarketApi.md

File metadata and controls

54 lines (37 loc) · 1.42 KB

LinearMarketApi

All URIs are relative to https://api.bybit.com

Method HTTP request Description
linearMarketTrading GET /public/linear/recent-trading-records Get recent trades

linearMarketTrading

Object linearMarketTrading(symbol, limit)

Get recent trades

This will get recent trades

Example

// Import classes:
//import io.swagger.client.api.LinearMarketApi;

LinearMarketApi apiInstance = new LinearMarketApi();
String symbol = "symbol_example"; // String | Contract type.
String limit = "limit_example"; // String | Contract type.
try {
    Object result = apiInstance.linearMarketTrading(symbol, limit);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling LinearMarketApi#linearMarketTrading");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
symbol String Contract type.
limit String Contract type. [optional]

Return type

Object

Authorization

apiKey, apiSignature, timestamp

HTTP request headers

  • Content-Type: application/json, application/x-www-form-urlencoded
  • Accept: application/json