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

Latest commit

 

History

History
62 lines (45 loc) · 1.82 KB

LinearExecutionApi.md

File metadata and controls

62 lines (45 loc) · 1.82 KB

LinearExecutionApi

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

Method HTTP request Description
linearExecutionGetTrades GET /private/linear/trade/execution/list Get user's trading records.

linearExecutionGetTrades

Object linearExecutionGetTrades(symbol, startTime, endTime, execType, page, limit)

Get user's trading records.

This will get user's trading records.

Example

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

LinearExecutionApi apiInstance = new LinearExecutionApi();
String symbol = "symbol_example"; // String | 
Long startTime = 789L; // Long | 
Long endTime = 789L; // Long | 
String execType = "execType_example"; // String | 
Long page = 789L; // Long | 
Long limit = 789L; // Long | 
try {
    Object result = apiInstance.linearExecutionGetTrades(symbol, startTime, endTime, execType, page, limit);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling LinearExecutionApi#linearExecutionGetTrades");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
symbol String [optional]
startTime Long [optional]
endTime Long [optional]
execType String [optional]
page Long [optional]
limit Long [optional]

Return type

Object

Authorization

apiKey, apiSignature, timestamp

HTTP request headers

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