ccxt 4.4.72 → 4.4.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,67 +0,0 @@
1
- import bitfinex1Rest from '../bitfinex1.js';
2
- import type { Int, Str, Trade, OrderBook, Order, Ticker } from '../base/types.js';
3
- import Client from '../base/ws/Client.js';
4
- export default class bitfinex1 extends bitfinex1Rest {
5
- describe(): any;
6
- subscribe(channel: any, symbol: any, params?: {}): Promise<any>;
7
- /**
8
- * @method
9
- * @name bitfinex1#watchTrades
10
- * @description get the list of most recent trades for a particular symbol
11
- * @see https://docs.bitfinex.com/v1/reference/ws-public-trades
12
- * @param {string} symbol unified symbol of the market to fetch trades for
13
- * @param {int} [since] timestamp in ms of the earliest trade to fetch
14
- * @param {int} [limit] the maximum amount of trades to fetch
15
- * @param {object} [params] extra parameters specific to the exchange API endpoint
16
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
17
- */
18
- watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
19
- /**
20
- * @method
21
- * @name bitfinex1#watchTicker
22
- * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
23
- * @see https://docs.bitfinex.com/v1/reference/ws-public-ticker
24
- * @param {string} symbol unified symbol of the market to fetch the ticker for
25
- * @param {object} [params] extra parameters specific to the exchange API endpoint
26
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
27
- */
28
- watchTicker(symbol: string, params?: {}): Promise<Ticker>;
29
- handleTrades(client: Client, message: any, subscription: any): void;
30
- parseTrade(trade: any, market?: any): Trade;
31
- handleTicker(client: Client, message: any, subscription: any): void;
32
- /**
33
- * @method
34
- * @name bitfinex1#watchOrderBook
35
- * @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
36
- * @see https://docs.bitfinex.com/v1/reference/ws-public-order-books
37
- * @param {string} symbol unified symbol of the market to fetch the order book for
38
- * @param {int} [limit] the maximum amount of order book entries to return
39
- * @param {object} [params] extra parameters specific to the exchange API endpoint
40
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
41
- */
42
- watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
43
- handleOrderBook(client: Client, message: any, subscription: any): void;
44
- handleHeartbeat(client: Client, message: any): void;
45
- handleSystemStatus(client: Client, message: any): any;
46
- handleSubscriptionStatus(client: Client, message: any): any;
47
- authenticate(params?: {}): Promise<any>;
48
- handleAuthenticationMessage(client: Client, message: any): void;
49
- watchOrder(id: any, symbol?: Str, params?: {}): Promise<any>;
50
- /**
51
- * @method
52
- * @name bitfinex1#watchOrders
53
- * @description watches information on multiple orders made by the user
54
- * @see https://docs.bitfinex.com/v1/reference/ws-auth-order-updates
55
- * @see https://docs.bitfinex.com/v1/reference/ws-auth-order-snapshots
56
- * @param {string} symbol unified market symbol of the market orders were made in
57
- * @param {int} [since] the earliest time in ms to fetch orders for
58
- * @param {int} [limit] the maximum number of order structures to retrieve
59
- * @param {object} [params] extra parameters specific to the exchange API endpoint
60
- * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
61
- */
62
- watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
63
- handleOrders(client: Client, message: any, subscription: any): void;
64
- parseWsOrderStatus(status: any): string;
65
- handleOrder(client: Client, order: any): Order;
66
- handleMessage(client: Client, message: any): void;
67
- }