Skip to content

Commit

Permalink
removing unused endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
poly-rodr committed May 10, 2024
1 parent e5a27a0 commit 1690f1f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
30 changes: 0 additions & 30 deletions examples/getLargeOrders.ts

This file was deleted.

7 changes: 0 additions & 7 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ import {
GET_OPEN_ORDERS,
DERIVE_API_KEY,
GET_LAST_TRADE_PRICE,
GET_LARGE_ORDERS,
GET_MARKETS,
GET_MARKET,
GET_PRICES_HISTORY,
Expand Down Expand Up @@ -258,12 +257,6 @@ export class ClobClient {
});
}

public async getLargeOrders(minValue = ""): Promise<any> {
return this.get(`${this.host}${GET_LARGE_ORDERS}`, {
params: { min_value: minValue },
});
}

public async getPricesHistory(params: PriceHistoryFilterParams): Promise<MarketPrice[]> {
return this.get(`${this.host}${GET_PRICES_HISTORY}`, {
params,
Expand Down
1 change: 0 additions & 1 deletion src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const CANCEL_ORDERS = "/orders";
export const GET_ORDER = "/history/order/";
export const CANCEL_ALL = "/cancel-all";
export const CANCEL_MARKET_ORDERS = "/cancel-market-orders";
export const GET_LARGE_ORDERS = "/large-orders";
export const GET_OPEN_ORDERS = "/history/orders";
export const GET_TRADES = "/history/trades";
export const IS_ORDER_SCORING = "/order-scoring";
Expand Down

0 comments on commit 1690f1f

Please sign in to comment.