ccxt 4.3.66 → 4.3.68

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.
Files changed (55) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.min.js +2 -2
  3. package/dist/cjs/ccxt.js +1 -1
  4. package/dist/cjs/src/base/Exchange.js +6 -4
  5. package/dist/cjs/src/base/functions/type.js +2 -2
  6. package/dist/cjs/src/bingx.js +478 -159
  7. package/dist/cjs/src/bitget.js +4 -2
  8. package/dist/cjs/src/bithumb.js +61 -17
  9. package/dist/cjs/src/pro/krakenfutures.js +7 -6
  10. package/dist/cjs/src/pro/okx.js +17 -4
  11. package/js/ccxt.d.ts +1 -1
  12. package/js/ccxt.js +1 -1
  13. package/js/src/abstract/bingx.d.ts +7 -0
  14. package/js/src/base/Exchange.d.ts +14 -13
  15. package/js/src/base/Exchange.js +6 -4
  16. package/js/src/base/functions/type.js +2 -2
  17. package/js/src/bingx.d.ts +2 -0
  18. package/js/src/bingx.js +478 -159
  19. package/js/src/bitget.js +4 -2
  20. package/js/src/bithumb.js +61 -17
  21. package/js/src/pro/bitget.d.ts +1 -1
  22. package/js/src/pro/bybit.d.ts +1 -1
  23. package/js/src/pro/coinone.d.ts +1 -1
  24. package/js/src/pro/currencycom.d.ts +1 -1
  25. package/js/src/pro/hollaex.d.ts +1 -1
  26. package/js/src/pro/hyperliquid.d.ts +1 -1
  27. package/js/src/pro/krakenfutures.js +7 -6
  28. package/js/src/pro/kucoin.d.ts +1 -1
  29. package/js/src/pro/kucoinfutures.d.ts +1 -1
  30. package/js/src/pro/mexc.d.ts +1 -1
  31. package/js/src/pro/okcoin.d.ts +1 -1
  32. package/js/src/pro/okx.d.ts +2 -2
  33. package/js/src/pro/okx.js +18 -5
  34. package/js/src/pro/oxfun.d.ts +1 -1
  35. package/js/src/pro/p2b.d.ts +1 -1
  36. package/js/src/pro/poloniex.d.ts +1 -1
  37. package/js/src/pro/whitebit.d.ts +1 -1
  38. package/package.json +1 -1
  39. package/dist/cjs/src/abstract/bittrex.js +0 -9
  40. package/dist/cjs/src/bittrex.js +0 -2308
  41. package/dist/cjs/src/pro/bittrex.js +0 -959
  42. package/js/src/bittrex.d.ts +0 -97
  43. package/js/src/bittrex.js +0 -2309
  44. package/js/src/coinbaseprime.d.ts +0 -4
  45. package/js/src/coinbaseprime.js +0 -32
  46. package/js/src/pro/bittrex.d.ts +0 -69
  47. package/js/src/pro/bittrex.js +0 -960
  48. package/js/src/pro/coinbaseprime.d.ts +0 -4
  49. package/js/src/pro/coinbaseprime.js +0 -33
  50. package/js/src/pro/huobipro.d.ts +0 -4
  51. package/js/src/pro/huobipro.js +0 -17
  52. package/js/src/pro/mexc3.d.ts +0 -4
  53. package/js/src/pro/mexc3.js +0 -17
  54. package/js/src/pro/okex.d.ts +0 -4
  55. package/js/src/pro/okex.js +0 -17
@@ -1,4 +0,0 @@
1
- import coinbasepro from './coinbasepro.js';
2
- export default class coinbaseprime extends coinbasepro {
3
- describe(): any;
4
- }
@@ -1,32 +0,0 @@
1
- // ----------------------------------------------------------------------------
2
-
3
- // PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
4
- // https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
5
- // EDIT THE CORRESPONDENT .ts FILE INSTEAD
6
-
7
- // ---------------------------------------------------------------------------
8
- import coinbasepro from './coinbasepro.js';
9
- // ---------------------------------------------------------------------------
10
- export default class coinbaseprime extends coinbasepro {
11
- describe() {
12
- return this.deepExtend(super.describe(), {
13
- 'id': 'coinbaseprime',
14
- 'name': 'Coinbase Prime',
15
- 'pro': true,
16
- 'hostname': 'exchange.coinbase.com',
17
- 'urls': {
18
- 'test': {
19
- 'public': 'https://public.sandbox.exchange.coinbase.com',
20
- 'private': 'https://public.sandbox.exchange.coinbase.com',
21
- },
22
- 'logo': 'https://user-images.githubusercontent.com/1294454/44539184-29f26e00-a70c-11e8-868f-e907fc236a7c.jpg',
23
- 'api': {
24
- 'public': 'https://api.{hostname}',
25
- 'private': 'https://api.{hostname}',
26
- },
27
- 'www': 'https://exchange.coinbase.com',
28
- 'doc': 'https://docs.exchange.coinbase.com',
29
- },
30
- });
31
- }
32
- }
@@ -1,69 +0,0 @@
1
- import bittrexRest from '../bittrex.js';
2
- import { Int, Str } from '../base/types.js';
3
- import Client from '../base/ws/Client.js';
4
- export default class bittrex extends bittrexRest {
5
- describe(): any;
6
- getSignalRUrl(negotiation: any): string;
7
- makeRequest(requestId: any, method: any, args: any): {
8
- H: string;
9
- M: any;
10
- A: any;
11
- I: any;
12
- };
13
- makeRequestToSubscribe(requestId: any, args: any): {
14
- H: string;
15
- M: any;
16
- A: any;
17
- I: any;
18
- };
19
- makeRequestToAuthenticate(requestId: any): {
20
- H: string;
21
- M: any;
22
- A: any;
23
- I: any;
24
- };
25
- requestId(): any;
26
- sendRequestToSubscribe(negotiation: any, messageHash: any, subscription: any, params?: {}): Promise<any>;
27
- authenticate(params?: {}): Promise<any>;
28
- sendRequestToAuthenticate(negotiation: any, expired?: boolean, params?: {}): Promise<any>;
29
- sendAuthenticatedRequestToSubscribe(authentication: any, messageHash: any, params?: {}): Promise<any>;
30
- handleAuthenticate(client: Client, message: any, subscription: any): void;
31
- handleAuthenticationExpiringHelper(): Promise<any>;
32
- handleAuthenticationExpiring(client: Client, message: any): void;
33
- createSignalRQuery(params?: {}): any;
34
- negotiate(params?: {}): Promise<any>;
35
- start(negotiation: any, params?: {}): Promise<any>;
36
- watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<any>;
37
- subscribeToOrders(authentication: any, params?: {}): Promise<any>;
38
- handleOrder(client: Client, message: any): void;
39
- watchBalance(params?: {}): Promise<any>;
40
- subscribeToBalance(authentication: any, params?: {}): Promise<any>;
41
- handleBalance(client: Client, message: any): void;
42
- watchHeartbeat(params?: {}): Promise<any>;
43
- subscribeToHeartbeat(negotiation: any, params?: {}): Promise<any>;
44
- handleHeartbeat(client: Client, message: any): void;
45
- watchTicker(symbol: string, params?: {}): Promise<any>;
46
- subscribeToTicker(negotiation: any, symbol: any, params?: {}): Promise<any>;
47
- handleTicker(client: Client, message: any): void;
48
- watchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
49
- subscribeToOHLCV(negotiation: any, symbol: any, timeframe?: string, params?: {}): Promise<any>;
50
- handleOHLCV(client: Client, message: any): void;
51
- watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
52
- subscribeToTrades(negotiation: any, symbol: any, params?: {}): Promise<any>;
53
- handleTrades(client: Client, message: any): void;
54
- watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<any>;
55
- subscribeToMyTrades(authentication: any, params?: {}): Promise<any>;
56
- handleMyTrades(client: Client, message: any): void;
57
- watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<any>;
58
- fetchOrderBookSnapshot(client: any, message: any, subscription: any): Promise<void>;
59
- handleOrderBookSubscription(client: Client, message: any, subscription: any): void;
60
- handleDelta(bookside: any, delta: any): void;
61
- handleDeltas(bookside: any, deltas: any): void;
62
- handleOrderBook(client: Client, message: any): void;
63
- handleOrderBookMessage(client: Client, message: any, orderbook: any): any;
64
- handleSystemStatusHelper(): Promise<void>;
65
- handleSystemStatus(client: Client, message: any): any;
66
- handleSubscriptionStatus(client: Client, message: any): any;
67
- handleErrorMessage(client: Client, message: any): boolean;
68
- handleMessage(client: Client, message: any): void;
69
- }