ccxt 4.3.71 → 4.3.72
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.
- package/README.md +4 -4
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/paradex.js +1 -1
- package/examples/js/cli.js +8 -4
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/base/types.d.ts +10 -10
- package/js/src/paradex.js +1 -1
- package/package.json +1 -1
package/dist/cjs/ccxt.js
CHANGED
|
@@ -194,7 +194,7 @@ var xt$1 = require('./src/pro/xt.js');
|
|
|
194
194
|
|
|
195
195
|
//-----------------------------------------------------------------------------
|
|
196
196
|
// this is updated by vss.js when building
|
|
197
|
-
const version = '4.3.
|
|
197
|
+
const version = '4.3.72';
|
|
198
198
|
Exchange["default"].ccxtVersion = version;
|
|
199
199
|
const exchanges = {
|
|
200
200
|
'ace': ace,
|
package/dist/cjs/src/paradex.js
CHANGED
|
@@ -126,7 +126,7 @@ class paradex extends paradex$1 {
|
|
|
126
126
|
},
|
|
127
127
|
'hostname': 'paradex.trade',
|
|
128
128
|
'urls': {
|
|
129
|
-
'logo': 'https://github.com/user-attachments/assets/
|
|
129
|
+
'logo': 'https://github.com/user-attachments/assets/84628770-784e-4ec4-a759-ec2fbb2244ea',
|
|
130
130
|
'api': {
|
|
131
131
|
'v1': 'https://api.prod.{hostname}/v1',
|
|
132
132
|
},
|
package/examples/js/cli.js
CHANGED
|
@@ -374,10 +374,14 @@ async function run () {
|
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
if (debug) {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
377
|
+
if (httpsAgent.freeSockets) {
|
|
378
|
+
const keys = Object.keys (httpsAgent.freeSockets)
|
|
379
|
+
if (keys.length) {
|
|
380
|
+
const firstKey = keys[0]
|
|
381
|
+
let httpAgent = httpsAgent.freeSockets[firstKey];
|
|
382
|
+
log (firstKey, httpAgent.length)
|
|
383
|
+
}
|
|
384
|
+
}
|
|
381
385
|
}
|
|
382
386
|
|
|
383
387
|
if (!poll && !isWsMethod){
|
package/js/ccxt.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
|
|
|
4
4
|
import * as errors from './src/base/errors.js';
|
|
5
5
|
import type { Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketInterface, Trade, Order, OrderBook, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, DepositAddressResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers } from './src/base/types.js';
|
|
6
6
|
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.3.
|
|
7
|
+
declare const version = "4.3.71";
|
|
8
8
|
import ace from './src/ace.js';
|
|
9
9
|
import alpaca from './src/alpaca.js';
|
|
10
10
|
import ascendex from './src/ascendex.js';
|
package/js/ccxt.js
CHANGED
|
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
|
|
|
38
38
|
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending } from './src/base/errors.js';
|
|
39
39
|
//-----------------------------------------------------------------------------
|
|
40
40
|
// this is updated by vss.js when building
|
|
41
|
-
const version = '4.3.
|
|
41
|
+
const version = '4.3.72';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import ace from './src/ace.js';
|
package/js/src/base/types.d.ts
CHANGED
|
@@ -36,15 +36,15 @@ export interface TradingFeeInterface {
|
|
|
36
36
|
}
|
|
37
37
|
export declare type Fee = FeeInterface | undefined;
|
|
38
38
|
export interface MarketInterface {
|
|
39
|
-
id:
|
|
39
|
+
id: Str;
|
|
40
40
|
numericId?: Num;
|
|
41
|
-
uppercaseId?:
|
|
42
|
-
lowercaseId?:
|
|
41
|
+
uppercaseId?: Str;
|
|
42
|
+
lowercaseId?: Str;
|
|
43
43
|
symbol: string;
|
|
44
|
-
base:
|
|
45
|
-
quote:
|
|
46
|
-
baseId:
|
|
47
|
-
quoteId:
|
|
44
|
+
base: Str;
|
|
45
|
+
quote: Str;
|
|
46
|
+
baseId: Str;
|
|
47
|
+
quoteId: Str;
|
|
48
48
|
active: Bool;
|
|
49
49
|
type: MarketType;
|
|
50
50
|
subType?: SubType;
|
|
@@ -66,9 +66,9 @@ export interface MarketInterface {
|
|
|
66
66
|
optionType: Str;
|
|
67
67
|
taker?: Num;
|
|
68
68
|
maker?: Num;
|
|
69
|
-
percentage?:
|
|
70
|
-
tierBased?:
|
|
71
|
-
feeSide?:
|
|
69
|
+
percentage?: Bool;
|
|
70
|
+
tierBased?: Bool;
|
|
71
|
+
feeSide?: Str;
|
|
72
72
|
precision: {
|
|
73
73
|
amount: Num;
|
|
74
74
|
price: Num;
|
package/js/src/paradex.js
CHANGED
|
@@ -128,7 +128,7 @@ export default class paradex extends Exchange {
|
|
|
128
128
|
},
|
|
129
129
|
'hostname': 'paradex.trade',
|
|
130
130
|
'urls': {
|
|
131
|
-
'logo': 'https://github.com/user-attachments/assets/
|
|
131
|
+
'logo': 'https://github.com/user-attachments/assets/84628770-784e-4ec4-a759-ec2fbb2244ea',
|
|
132
132
|
'api': {
|
|
133
133
|
'v1': 'https://api.prod.{hostname}/v1',
|
|
134
134
|
},
|
package/package.json
CHANGED