Package api.quotation.module
Class TradesApi
java.lang.Object
api.quotation.module.TradesApi
시세 체결 API 클래스
- Since:
- 2021.11.30 Tue 02:21:16
- Author:
- RWB
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription최근 체결 내역 응답 반환 메서드최근 체결 내역 응답 반환 메서드
-
Constructor Details
-
TradesApi
public TradesApi()
-
-
Method Details
-
getTicks
최근 체결 내역 응답 반환 메서드- Parameters:
market- : [String] 마켓 코드- Returns:
- [UpbitResponse] Tick[]를 포함한 Upbit 응답 객체
- Throws:
IOException- 데이터 입출력 예외
-
getTicks
public UpbitResponse<Tick[]> getTicks(String market, String to, int count, String cursor, int daysAgo) throws IOException최근 체결 내역 응답 반환 메서드- Parameters:
market- : [String] 마켓 코드to- : [String] 마지막 체결 시간 (ex. 082006 or 08:20:06)count- : [int] 체결 개수cursor- : [String] 페이지네이션 커서 (입력한 sequential_id를 기준으로 출력)daysAgo- : [int] 이전 날짜 (1 ~ 7일 이전의 데이터 조회 가능)- Returns:
- [UpbitResponse] Tick[]를 포함한 Upbit 응답 객체
- Throws:
IOException- 데이터 입출력 예외
-