id
int64
0
328k
repository_name
stringlengths
7
58
file_path
stringlengths
9
302
class_name
stringlengths
5
256
human_written_code
stringlengths
16
2.16M
class_skeleton
stringlengths
18
1.49M
⌀
total_program_units
int64
1
1.76k
total_doc_str
int64
0
771
AvgCountLine
float64
0
7.89k
AvgCountLineBlank
float64
0
297
AvgCountLineCode
float64
0
7.89k
AvgCountLineComment
float64
0
7.89k
AvgCyclomatic
float64
0
130
CommentToCodeRatio
float64
0
168
CountClassBase
float64
0
40
CountClassCoupled
float64
0
583
CountClassCoupledModified
float64
0
575
CountClassDerived
float64
0
5.35k
CountDeclInstanceMethod
float64
0
529
CountDeclInstanceVariable
float64
0
296
CountDeclMethod
float64
0
599
CountDeclMethodAll
float64
0
1.12k
CountLine
float64
1
40.4k
CountLineBlank
float64
0
8.16k
CountLineCode
float64
1
25.7k
CountLineCodeDecl
float64
1
8.15k
CountLineCodeExe
float64
0
24.2k
CountLineComment
float64
0
16.5k
CountStmt
float64
1
9.71k
CountStmtDecl
float64
1
8.15k
CountStmtExe
float64
0
9.69k
MaxCyclomatic
float64
0
759
MaxInheritanceTree
float64
0
16
MaxNesting
float64
0
34
SumCyclomatic
float64
0
2.9k
12,200
ccxt/ccxt
python/ccxt/p2b.py
ccxt.p2b.p2b
from ccxt.base.errors import BadRequest from ccxt.base.types import Any, Int, Market, Num, Order, OrderSide, OrderType, Str, Strings, Ticker, Tickers from ccxt.base.errors import InsufficientFunds from ccxt.base.errors import ExchangeNotAvailable from ccxt.base.exchange import Exchange from typing import List from ccxt...
class p2b(Exchange, ImplicitAPI): def describe(self) -> Any: pass def fetch_markets(self, params={}) -> List[Market]: ''' retrieves data on all markets for bigone https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md#markets :param dict [params]: extra parame...
23
13
57
1
30
27
2
0.92
2
14
7
0
22
0
22
621
1,266
53
656
110
633
604
211
110
188
9
2
2
54
12,201
ccxt/ccxt
python/ccxt/paradex.py
ccxt.paradex.paradex
from ccxt.base.errors import AuthenticationError from ccxt.base.errors import InvalidOrder from ccxt.base.errors import ExchangeError from ccxt.base.errors import OperationRejected from ccxt.base.types import Any, Balances, Currency, Greeks, Int, Leverage, MarginMode, Market, Num, Order, OrderBook, OrderSide, OrderType...
class paradex(Exchange, ImplicitAPI): def describe(self) -> Any: pass def fetch_time(self, params={}) -> Int: ''' fetches the current integer timestamp in milliseconds from the exchange server https://docs.api.testnet.paradex.trade/#get-system-time-unix-milliseconds :p...
60
28
41
1
24
17
2
0.73
2
21
14
0
49
0
49
648
2,071
93
1,157
264
1,107
847
522
264
472
11
2
3
117
12,202
ccxt/ccxt
python/ccxt/paymium.py
ccxt.paymium.paymium
from ccxt.base.exchange import Exchange from typing import List from ccxt.base.decimal_to_precision import TICK_SIZE from ccxt.abstract.paymium import ImplicitAPI from ccxt.base.types import Any, Balances, Currency, DepositAddress, Int, Market, Num, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Trade, Transfer...
class paymium(Exchange, ImplicitAPI): def describe(self) -> Any: pass def parse_balance(self, response) -> Balances: pass def fetch_balance(self, params={}) -> Balances: ''' query for balance and get the amount of funds available for trading or funds locked in orders ...
20
10
31
1
19
12
2
0.63
2
15
8
0
19
0
19
618
612
39
356
77
336
223
135
77
115
6
2
3
31
12,203
ccxt/ccxt
python/ccxt/phemex.py
ccxt.phemex.phemex
from ccxt.base.decimal_to_precision import TICK_SIZE from ccxt.base.errors import CancelPending from ccxt.base.errors import RateLimitExceeded from ccxt.base.errors import DDoSProtection from ccxt.base.errors import DuplicateOrderId from ccxt.base.errors import OrderNotFound from ccxt.base.errors import InvalidOrder fr...
class phemex(Exchange, ImplicitAPI): def describe(self) -> Any: pass def parse_safe_number(self, value=None): pass def parse_swap_market(self, market: dict): pass def parse_spot_market(self, market: dict): pass def fetch_markets(self, params={}) -> List[Market]:...
76
37
66
1
35
34
5
0.99
2
36
26
0
71
0
71
670
4,751
125
2,457
563
2,385
2,443
1,287
562
1,215
54
2
5
332
12,204
ccxt/ccxt
python/ccxt/poloniex.py
ccxt.poloniex.poloniex
from ccxt.base.errors import OnMaintenance from ccxt.base.errors import ExchangeNotAvailable from ccxt.base.errors import NotSupported from ccxt.base.errors import OrderNotFound from ccxt.base.errors import InvalidOrder from ccxt.base.types import Any, Balances, Bool, Currencies, Currency, DepositAddress, Int, Leverage...
class poloniex(Exchange, ImplicitAPI): def describe(self) -> Any: pass def parse_ohlcv(self, ohlcv, market: Market=None) -> list: pass def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int=None, limit: Int=None, params={}) -> List[list]: ''' fetches historical can...
67
33
48
1
28
21
3
0.74
2
30
23
0
48
0
48
647
2,330
98
1,360
304
1,311
1,000
596
304
547
10
2
4
134
12,205
ccxt/ccxt
python/ccxt/pro/alpaca.py
ccxt.pro.alpaca.alpaca
import ccxt.async_support from ccxt.base.errors import ExchangeError from ccxt.async_support.base.ws.client import Client from typing import List from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.types import Any, Bool, Int, Order, OrderBook, Str, Tick...
class alpaca(ccxt.async_support.alpaca): def describe(self) -> Any: pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market https://d...
27
6
25
0
13
12
2
0.89
1
15
10
0
26
1
26
929
686
36
344
121
317
307
230
121
203
6
4
2
52
12,206
ccxt/ccxt
python/ccxt/pro/ascendex.py
ccxt.pro.ascendex.ascendex
from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderBook, Str, Trade from ccxt.base.errors import AuthenticationError from ccxt.async_support.base.ws.client import Client from typing import List import hashlib from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTim...
class ascendex(ccxt.async_support.ascendex): def describe(self) -> Any: pass async def watch_public(self, messageHash, params={}): pass async def watch_public_multiple(self, messageHashes, params={}): pass async def watch_private(self, channel, messageHash, params={}): ...
31
6
31
0
15
15
2
0.99
1
16
10
0
30
1
30
953
949
42
458
187
427
452
351
185
320
6
4
3
70
12,207
ccxt/ccxt
python/ccxt/pro/bequant.py
ccxt.pro.bequant.bequant
import ccxt.async_support.bequant as bequantRest from ccxt.pro.hitbtc import hitbtc import ccxt.async_support.hitbtc as hitbtcRest from ccxt.base.types import Any class bequant(hitbtc): def describe(self) -> Any: describeExtended = self.get_describe_for_extended_ws_exchange(bequantRest(), hitbtcRest(), su...
class bequant(hitbtc): def describe(self) -> Any: pass
2
0
28
0
27
2
1
0.07
1
1
0
0
1
0
1
971
30
1
28
3
26
2
4
3
2
1
5
0
1
12,208
ccxt/ccxt
python/ccxt/pro/binance.py
ccxt.pro.binance.binance
from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import ChecksumError from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp from ccxt.base.errors import NotSupported import ccxt.async_support from ccxt.base.errors impor...
class binance(ccxt.async_support.binance): def describe(self) -> Any: pass def describe_data(self): pass def request_id(self, url): pass def stream(self, type: Str, subscriptionHash: Str, numSubscriptions=1): pass async def watch_liquidations(self, symbol: str, ...
96
43
41
1
23
18
4
0.76
1
26
17
6
95
3
95
1,114
4,030
175
2,211
838
2,115
1,670
1,655
834
1,559
15
4
7
382
12,209
ccxt/ccxt
python/ccxt/pro/binancecoinm.py
ccxt.pro.binancecoinm.binancecoinm
from ccxt.pro.binance import binance import ccxt.async_support.binancecoinm as binancecoinmRest from ccxt.base.types import Any class binancecoinm(binance): def describe(self) -> Any: restInstance = binancecoinmRest() restDescribe = restInstance.describe() extended = self.deep_extend(super...
class binancecoinm(binance): def describe(self) -> Any: pass
2
0
17
0
16
1
1
0.06
1
1
0
0
1
0
1
1,115
19
1
17
5
15
1
6
5
4
1
5
0
1
12,210
ccxt/ccxt
python/ccxt/pro/binanceus.py
ccxt.pro.binanceus.binanceus
from ccxt.pro.binance import binance from ccxt.base.types import Any import ccxt.async_support.binanceus as binanceusRest class binanceus(binance): def describe(self) -> Any: restInstance = binanceusRest() restDescribe = restInstance.describe() parentWsDescribe = super(binanceus, self).des...
class binanceus(binance): def describe(self) -> Any: pass
2
0
37
0
36
2
1
0.05
1
1
0
0
1
0
1
1,115
39
1
37
6
35
2
7
6
5
1
5
0
1
12,211
ccxt/ccxt
python/ccxt/pro/binanceusdm.py
ccxt.pro.binanceusdm.binanceusdm
from ccxt.base.errors import InvalidOrder from ccxt.base.types import Any from ccxt.pro.binance import binance class binanceusdm(binance): def describe(self) -> Any: return self.deep_extend(super(binanceusdm, self).describe(), {'id': 'binanceusdm', 'name': 'Binance USDⓈ-M', 'urls': {'logo': 'https://user-...
class binanceusdm(binance): def describe(self) -> Any: pass
2
0
22
0
20
5
1
0.24
1
2
1
0
1
0
1
1,115
24
1
21
2
19
5
3
2
1
1
5
0
1
12,212
ccxt/ccxt
python/ccxt/pro/bingx.py
ccxt.pro.bingx.bingx
from ccxt.base.errors import NotSupported from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import NetworkError from typing import List import ccxt.async_support from ccxt.base.types import Any, Balances, Int, Order, OrderBook, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import B...
class bingx(ccxt.async_support.bingx): def describe(self) -> Any: pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market https://bin...
31
10
46
1
26
20
5
0.77
1
19
13
0
30
2
30
982
1,420
50
779
304
748
602
605
301
574
13
4
3
141
12,213
ccxt/ccxt
python/ccxt/pro/bitfinex.py
ccxt.pro.bitfinex.bitfinex
import ccxt.async_support import hashlib from ccxt.base.precise import Precise from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.errors import AuthenticationError from ccxt.base.errors import ChecksumError from ccxt.base.types import Any, Balances, Int...
class bitfinex(ccxt.async_support.bitfinex): def describe(self) -> Any: pass async def subscribe(self, channel, symbol, params={}): pass async def un_subscribe(self, channel, topic, symbol, params={}): pass async def subscribe_private(self, messageHash): pass as...
34
10
37
0
21
17
4
0.81
1
18
13
0
28
2
28
957
1,069
28
580
246
551
467
436
246
407
16
4
3
102
12,214
ccxt/ccxt
python/ccxt/pro/bitget.py
ccxt.pro.bitget.bitget
from typing import List from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp from ccxt.base.errors import RateLimitExceeded from ccxt.async_support.base.ws.client import Client import ccxt.async_support from ccxt.base.errors import BadRequest f...
class bitget(ccxt.async_support.bitget): def describe(self) -> Any: pass def get_inst_type(self, market, uta: bool=False, params={}): pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the inform...
55
16
36
1
20
16
3
0.81
1
26
19
0
54
5
54
1,022
2,001
86
1,066
430
1,011
866
775
429
720
16
4
4
180
12,215
ccxt/ccxt
python/ccxt/pro/bithumb.py
ccxt.pro.bithumb.bithumb
from ccxt.base.types import Any, Bool, Int, OrderBook, Strings, Ticker, Tickers, Trade from ccxt.async_support.base.ws.cache import ArrayCache from typing import List from ccxt.base.errors import ExchangeError from ccxt.async_support.base.ws.client import Client import ccxt.async_support class bithumb(ccxt.async_suppo...
class bithumb(ccxt.async_support.bithumb): def describe(self) -> Any: pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market https:/...
15
4
25
1
14
10
2
0.7
1
11
6
0
14
0
14
903
367
22
203
83
188
142
132
82
117
4
4
2
29
12,216
ccxt/ccxt
python/ccxt/pro/bitmart.py
ccxt.pro.bitmart.bitmart
from typing import List from ccxt.base.types import Any, Balances, Bool, Int, Market, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade import ccxt.async_support from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import AuthenticationError from ccxt.async_support.base.ws.order_boo...
class bitmart(ccxt.async_support.bitmart): def describe(self) -> Any: pass async def subscribe(self, channel, symbol, type, params={}): pass async def subscribe_multiple(self, channel: str, type: str, symbols: Strings=None, params={}): pass async def watch_balance(self, para...
42
11
36
1
22
14
3
0.66
1
22
16
0
41
2
41
990
1,534
63
895
310
853
593
621
309
579
16
4
3
140
12,217
ccxt/ccxt
python/ccxt/pro/bitmex.py
ccxt.pro.bitmex.bitmex
from ccxt.base.types import Any, Balances, Bool, Int, Liquidation, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade import hashlib import ccxt.async_support from ccxt.async_support.base.ws.client import Client from typing import List from ccxt.base.errors import RateLimitExceeded from ccxt.base.errors i...
class bitmex(ccxt.async_support.bitmex): def describe(self) -> Any: pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market https://w...
31
13
55
1
19
36
3
1.91
1
20
15
0
30
4
30
951
1,678
56
560
243
529
1,068
442
243
411
15
4
3
96
12,218
ccxt/ccxt
python/ccxt/pro/bitopro.py
ccxt.pro.bitopro.bitopro
from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById from ccxt.async_support.base.ws.client import Client from typing import List from ccxt.base.types import Any, Balances, Int, Market, OrderBook, Str, Ticker, Trade import hashlib import ccxt.async_support from ccxt.base.errors import Exchang...
class bitopro(ccxt.async_support.bitopro): def describe(self) -> Any: pass async def watch_public(self, path, messageHash, marketId): pass async def watch_order_book(self, symbol: str, limit: Int=None, params={}) -> OrderBook: ''' watches information on open orders with b...
16
5
28
1
17
10
2
0.6
1
13
8
0
15
2
15
915
442
25
260
108
244
157
182
108
166
7
4
2
34
12,219
ccxt/ccxt
python/ccxt/pro/bitrue.py
ccxt.pro.bitrue.bitrue
from ccxt.base.types import Any, Balances, Int, Order, OrderBook, Str from typing import List import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCacheBySymbolById from ccxt.async_support.base.ws.client import Client class bitrue(ccxt.async_support.bitrue): def describe(self) -> Any: ...
class bitrue(ccxt.async_support.bitrue): def describe(self) -> Any: pass async def watch_balance(self, params={}) -> Balances: ''' watch balance and get the amount of funds available for trading or funds locked in orders https://github.com/Bitrue-exchange/Spot-official-api-doc...
17
2
26
0
15
12
2
0.77
1
10
5
0
16
2
16
922
435
20
238
86
221
184
134
85
117
5
4
3
30
12,220
ccxt/ccxt
python/ccxt/pro/bitstamp.py
ccxt.pro.bitstamp.bitstamp
from ccxt.base.precise import Precise import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById from ccxt.base.errors import AuthenticationError from ccxt.base.errors import ArgumentsRequired from typing import List from ccxt.base.types import Any, Bool, Int, Order, Order...
class bitstamp(ccxt.async_support.bitstamp): def describe(self) -> Any: pass async def watch_order_book(self, symbol: str, limit: Int=None, params={}) -> OrderBook: ''' watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data :param str sym...
20
3
26
0
15
11
2
0.71
1
13
8
0
19
1
19
932
509
19
286
119
266
204
190
119
170
4
4
2
41
12,221
ccxt/ccxt
python/ccxt/pro/bitvavo.py
ccxt.pro.bitvavo.bitvavo
from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import ExchangeError from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.errors import AuthenticationError from ccxt.base.errors import ArgumentsRequired import ccxt.async_support...
class bitvavo(ccxt.async_support.bitvavo): def describe(self) -> Any: pass async def watch_public(self, name, symbol, params={}): pass async def watch_public_multiple(self, methodName, channelName: str, symbols, params={}): pass async def watch_ticker(self, symbol: str, para...
64
24
21
1
11
9
2
0.87
1
20
12
0
63
2
63
975
1,376
97
684
309
620
596
516
308
452
4
4
3
105
12,222
ccxt/ccxt
python/ccxt/pro/blockchaincom.py
ccxt.pro.blockchaincom.blockchaincom
from typing import List from ccxt.base.types import Any, Balances, Int, Order, OrderBook, Str, Ticker, Trade import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.errors import AuthenticationError from ccxt.async_support.base.ws.c...
class blockchaincom(ccxt.async_support.blockchaincom): def describe(self) -> Any: pass async def watch_balance(self, params={}) -> Balances: ''' watch balance and get the amount of funds available for trading or funds locked in orders https://exchange.blockchain.com/api/#balan...
23
6
32
1
18
14
2
0.82
1
17
12
0
22
2
22
916
736
34
387
135
364
316
233
135
210
7
4
2
52
12,223
ccxt/ccxt
python/ccxt/pro/blofin.py
ccxt.pro.blofin.blofin
from ccxt.base.types import Any, Balances, Int, Market, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import ArgumentsRequired from typing import List from ccxt.async_support.base.ws.client import Client from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbol...
class blofin(ccxt.async_support.blofin): def describe(self) -> Any: pass def ping(self, client): pass def handle_pong(self, client: Client, message): pass async def watch_trades(self, symbol: str, since: Int=None, limit: Int=None, params={}) -> List[Trade]: ''' ...
35
13
19
1
12
6
2
0.51
1
19
14
0
34
2
34
949
684
56
418
178
383
214
324
178
289
10
4
3
75
12,224
ccxt/ccxt
python/ccxt/pro/bybit.py
ccxt.pro.bybit.bybit
from ccxt.base.errors import NotSupported from typing import List import hashlib import ccxt.async_support from ccxt.base.types import Any, Balances, Bool, Int, Liquidation, Num, Order, OrderBook, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import ExchangeError from ccxt.a...
class bybit(ccxt.async_support.bybit): def describe(self) -> Any: pass def request_id(self): pass async def get_url_by_market_type(self, symbol: Str=None, isPrivate=False, method: Str=None, params={}): pass def clean_params(self, params): pass async def create_o...
63
28
38
1
20
17
3
0.88
1
24
16
0
62
4
62
1,055
2,423
116
1,228
478
1,165
1,083
893
477
830
11
4
4
191
12,225
ccxt/ccxt
python/ccxt/pro/cex.py
ccxt.pro.cex.cex
from typing import List from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import ExchangeError from ccxt.base.errors import BadRequest from ccxt.base.errors import ArgumentsRequired from ccxt.base.types import Any, Balances, Bool, Int, Num, Order, OrderBook, OrderSide, OrderType, Str, Strings, ...
class cex(ccxt.async_support.cex): def describe(self) -> Any: pass def request_id(self): pass async def watch_balance(self, params={}) -> Balances: ''' watch balance and get the amount of funds available for trading or funds locked in orders https://cex.io/websock...
48
16
30
1
18
12
2
0.64
1
20
13
0
47
4
47
954
1,457
79
842
332
794
542
567
332
519
9
4
3
111
12,226
ccxt/ccxt
python/ccxt/pro/coinbase.py
ccxt.pro.coinbase.coinbase
from typing import List from ccxt.async_support.base.ws.cache import ArrayCacheBySymbolById import ccxt.async_support import hashlib from ccxt.base.types import Any, Int, Order, OrderBook, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import ExchangeError from ccxt.base.errors import ArgumentsRequired cla...
class coinbase(ccxt.async_support.coinbase): def describe(self) -> Any: pass async def subscribe(self, name: str, isPrivate: bool, symbol=None, params={}): ''' @ignore subscribes to a websocket channel https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-overview#subscr...
31
17
33
1
17
15
3
0.88
1
13
7
1
21
1
21
966
705
39
357
136
335
315
254
136
232
8
4
3
59
12,227
ccxt/ccxt
python/ccxt/pro/coinbaseadvanced.py
ccxt.pro.coinbaseadvanced.coinbaseadvanced
from ccxt.pro.coinbase import coinbase from ccxt.base.types import Any class coinbaseadvanced(coinbase): def describe(self) -> Any: return self.deep_extend(super(coinbaseadvanced, self).describe(), {'id': 'coinbaseadvanced', 'name': 'Coinbase Advanced', 'alias': True})
class coinbaseadvanced(coinbase): def describe(self) -> Any: pass
2
0
6
0
6
0
1
0
1
1
0
0
1
0
1
967
8
1
7
2
5
0
3
2
1
1
5
0
1
12,228
ccxt/ccxt
python/ccxt/pro/coinbaseexchange.py
ccxt.pro.coinbaseexchange.coinbaseexchange
import ccxt.async_support import hashlib from typing import List from ccxt.base.errors import ExchangeError from ccxt.base.errors import AuthenticationError from ccxt.base.errors import BadSymbol from ccxt.base.errors import BadRequest from ccxt.async_support.base.ws.client import Client from ccxt.async_support.base.ws...
class coinbaseexchange(ccxt.async_support.coinbaseexchange): def describe(self) -> Any: pass def authenticate(self): pass async def subscribe(self, name, symbol=None, messageHashStart=None, params={}): pass async def subscribe_multiple(self, name, symbols=[], messageHashStar...
29
10
30
0
19
11
3
0.6
1
18
12
0
28
2
28
932
877
28
531
205
502
320
382
204
353
17
4
6
82
12,229
ccxt/ccxt
python/ccxt/pro/coinbaseinternational.py
ccxt.pro.coinbaseinternational.coinbaseinternational
from typing import List import hashlib from ccxt.async_support.base.ws.client import Client from ccxt.base.types import Any, Bool, Int, Market, OrderBook, Strings, Ticker, Tickers, FundingRate, FundingRates, Trade from ccxt.base.errors import ExchangeError import ccxt.async_support from ccxt.async_support.base.ws.cache...
class coinbaseinternational(ccxt.async_support.coinbaseinternational): def describe(self) -> Any: pass async def subscribe(self, name: str, symbols: Strings=None, params={}): ''' @ignore subscribes to a websocket channel https://docs.cloud.coinbase.com/intx/docs/websocket-ove...
28
11
27
1
14
13
2
0.91
1
16
10
0
27
0
27
943
760
47
373
124
345
341
236
123
208
8
4
2
56
12,230
ccxt/ccxt
python/ccxt/pro/coincatch.py
ccxt.pro.coincatch.coincatch
from typing import List from ccxt.base.errors import RateLimitExceeded from ccxt.base.precise import Precise from ccxt.base.errors import ChecksumError from ccxt.base.errors import ExchangeError from ccxt.async_support.base.ws.client import Client import ccxt.async_support from ccxt.base.errors import BadRequest from c...
class coincatch(ccxt.async_support.coincatch): def describe(self) -> Any: pass def get_market_from_arg(self, entry): pass async def authenticate(self, params={}): pass async def watch_public(self, messageHash, subscribeHash, args, params={}): pass async def un_w...
53
14
27
1
17
9
3
0.55
1
27
20
0
52
3
52
1,000
1,441
80
893
355
840
488
650
354
597
14
4
4
156
12,231
ccxt/ccxt
python/ccxt/pro/coinex.py
ccxt.pro.coinex.coinex
from ccxt.base.errors import ExchangeNotAvailable from typing import List from ccxt.base.errors import RequestTimeout from ccxt.base.errors import NotSupported from ccxt.base.errors import BadRequest import hashlib from ccxt.base.errors import ExchangeError from ccxt.base.errors import AuthenticationError from ccxt.bas...
class coinex(ccxt.async_support.coinex): def describe(self) -> Any: pass def request_id(self): pass def handle_ticker(self, client: Client, message): pass def parse_ws_ticker(self, ticker, market=None): pass async def watch_balance(self, params={}) -> Balances: ...
33
10
41
1
21
20
3
0.95
1
21
15
0
32
2
32
979
1,343
52
671
253
638
636
458
253
425
9
4
2
93
12,232
ccxt/ccxt
python/ccxt/pro/coinone.py
ccxt.pro.coinone.coinone
from ccxt.base.errors import AuthenticationError from ccxt.async_support.base.ws.client import Client import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCache from typing import List from ccxt.base.types import Any, Bool, Int, Market, OrderBook, Ticker, Trade class coinone(ccxt.async_support.c...
class coinone(ccxt.async_support.coinone): def describe(self) -> Any: pass async def watch_order_book(self, symbol: str, limit: Int=None, params={}) -> OrderBook: ''' watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data https://docs.coi...
15
3
27
0
16
10
2
0.61
1
11
6
0
14
0
14
897
389
20
229
80
214
140
130
80
115
7
4
3
26
12,233
ccxt/ccxt
python/ccxt/pro/cryptocom.py
ccxt.pro.cryptocom.cryptocom
from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp from typing import List from ccxt.async_support.base.ws.client import Client import ccxt.async_support from ccxt.base.errors import ExchangeError from ccxt.base.errors import NetworkError fro...
class cryptocom(ccxt.async_support.cryptocom): def describe(self) -> Any: pass async def pong(self, client, message): pass async def watch_order_book(self, symbol: str, limit: Int=None, params={}) -> OrderBook: ''' watches information on open orders with bid(buy) and ask(...
54
23
24
1
14
9
2
0.67
1
23
15
0
52
3
52
974
1,306
96
726
313
673
488
560
311
507
6
4
3
119
12,234
ccxt/ccxt
python/ccxt/pro/defx.py
ccxt.pro.defx.defx
import ccxt.async_support from ccxt.base.types import Any, Balances, Int, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade from ccxt.async_support.base.ws.client import Client from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.errors imp...
class defx(ccxt.async_support.defx): def describe(self) -> Any: pass async def watch_public(self, topics, messageHashes, params={}): pass async def un_watch_public(self, topics, messageHashes, params={}): pass async def watch_ohlcv(self, symbol: str, timeframe='1m', since: I...
36
20
22
1
12
9
2
0.72
1
19
12
0
35
3
35
943
817
75
434
200
398
311
357
199
321
4
4
2
72
12,235
ccxt/ccxt
python/ccxt/pro/deribit.py
ccxt.pro.deribit.deribit
from typing import List import ccxt.async_support from ccxt.base.types import Any, Balances, Int, Order, OrderBook, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import NotSupported from ccxt.base.errors import ExchangeError import hashlib from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCache...
class deribit(ccxt.async_support.deribit): def describe(self) -> Any: pass def request_id(self): pass async def watch_balance(self, params={}) -> Balances: ''' https://docs.deribit.com/#user-portfolio-currency watch balance and get the amount of funds available fo...
32
12
32
1
17
14
2
0.84
1
17
12
0
31
1
31
959
1,012
55
525
222
493
439
377
222
345
5
4
2
71
12,236
ccxt/ccxt
python/ccxt/pro/exmo.py
ccxt.pro.exmo.exmo
import ccxt.async_support import hashlib from ccxt.base.errors import NotSupported from typing import List from ccxt.async_support.base.ws.client import Client from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById from ccxt.base.types import Any, Balances, Int, Market, Order, OrderBook, Str, S...
class exmo(ccxt.async_support.exmo): def describe(self) -> Any: pass def request_id(self): pass async def watch_balance(self, params={}) -> Balances: ''' watch balance and get the amount of funds available for trading or funds locked in orders :param dict [params]...
27
7
32
0
17
14
2
0.81
1
14
9
0
26
3
26
940
848
32
451
199
424
365
323
199
296
6
4
3
60
12,237
ccxt/ccxt
python/ccxt/pro/gate.py
ccxt.pro.gate.gate
from ccxt.base.types import Any, Balances, Bool, Int, Liquidation, Market, MarketType, Num, Order, OrderBook, OrderRequest, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import NotSupported from typing import List import ccxt.async_support from ccxt.base.errors import Checks...
class gate(ccxt.async_support.gate): def describe(self) -> Any: pass async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num=None, params={}): ''' https://www.gate.io/docs/developers/apiv4/ws/en/#order-place https://www.gate.io/...
64
25
29
0
17
12
3
0.69
1
28
20
1
63
4
63
1,047
1,888
93
1,071
485
1,007
734
837
484
773
10
4
3
188
12,238
ccxt/ccxt
python/ccxt/pro/gateio.py
ccxt.pro.gateio.gateio
from ccxt.pro.gate import gate from ccxt.base.types import Any class gateio(gate): def describe(self) -> Any: return self.deep_extend(super(gateio, self).describe(), {'alias': True, 'id': 'gateio'})
class gateio(gate): def describe(self) -> Any: pass
2
0
5
0
5
0
1
0
1
1
0
0
1
0
1
1,048
7
1
6
2
4
0
3
2
1
1
5
0
1
12,239
ccxt/ccxt
python/ccxt/pro/gemini.py
ccxt.pro.gemini.gemini
from ccxt.base.types import Any, Int, Order, OrderBook, Str, Strings, Tickers, Trade import hashlib from typing import List from ccxt.base.errors import ExchangeError import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.async_support....
class gemini(ccxt.async_support.gemini): def describe(self) -> Any: pass async def watch_trades(self, symbol: str, since: Int=None, limit: Int=None, params={}) -> List[Trade]: ''' watch the list of most recent trades for a particular symbol https://docs.gemini.com/websocket-ap...
28
7
31
1
18
13
3
0.72
1
15
10
0
27
1
27
928
865
41
479
197
451
345
349
197
321
13
4
3
80
12,240
ccxt/ccxt
python/ccxt/pro/hashkey.py
ccxt.pro.hashkey.hashkey
from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp from ccxt.base.types import Any, Balances, Bool, Int, Market, Order, OrderBook, Position, Str, Strings, Ticker, Trade from ccxt.async_support.base.ws.client import Client import ccxt.async_su...
class hashkey(ccxt.async_support.hashkey): def describe(self) -> Any: pass async def wath_public(self, market: Market, topic: str, messageHash: str, params={}): pass async def watch_private(self, messageHash): pass def get_private_url(self, listenKey): pass asyn...
30
8
26
1
15
11
2
0.73
1
17
11
0
29
3
29
970
790
45
432
158
402
317
299
157
269
10
4
2
69
12,241
ccxt/ccxt
python/ccxt/pro/hitbtc.py
ccxt.pro.hitbtc.hitbtc
from ccxt.base.types import Any, Balances, Int, Num, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import NotSupported from typing import List from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp import hashlib from c...
class hitbtc(ccxt.async_support.hitbtc): def describe(self) -> Any: pass async def authenticate(self): ''' @ignore authenticates the user to access private web socket channels https://api.hitbtc.com/#socket-authentication :returns dict: response from exchange ...
40
16
32
1
18
14
3
0.8
1
19
12
2
39
2
39
970
1,305
64
692
250
652
554
454
249
414
10
4
4
105
12,242
ccxt/ccxt
python/ccxt/pro/hollaex.py
ccxt.pro.hollaex.hollaex
from ccxt.base.errors import BadRequest from ccxt.async_support.base.ws.client import Client import hashlib from ccxt.base.errors import BadSymbol from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById import ccxt.async_support from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderB...
class hollaex(ccxt.async_support.hollaex): def describe(self) -> Any: pass async def watch_order_book(self, symbol: str, limit: Int=None, params={}) -> OrderBook: ''' watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data https://apidocs....
20
5
29
1
14
14
2
1.04
1
17
10
0
19
3
19
920
563
29
263
116
243
274
207
115
187
6
4
2
46
12,243
ccxt/ccxt
python/ccxt/pro/htx.py
ccxt.pro.htx.htx
import ccxt.async_support from ccxt.base.errors import AuthenticationError from ccxt.base.errors import BadRequest from ccxt.base.errors import InvalidNonce from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp from typing import List from ccxt....
class htx(ccxt.async_support.htx): def describe(self) -> Any: pass def request_id(self): pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a...
41
8
55
0
29
26
5
0.89
1
25
19
1
40
4
40
1,009
2,231
56
1,158
405
1,117
1,033
860
401
819
14
4
6
190
12,244
ccxt/ccxt
python/ccxt/pro/huobi.py
ccxt.pro.huobi.huobi
from ccxt.base.types import Any from ccxt.pro.htx import htx class huobi(htx): def describe(self) -> Any: return self.deep_extend(super(huobi, self).describe(), {'alias': True, 'id': 'huobi'})
class huobi(htx): def describe(self) -> Any: pass
2
0
5
0
5
0
1
0
1
1
0
0
1
0
1
1,010
7
1
6
2
4
0
3
2
1
1
5
0
1
12,245
ccxt/ccxt
python/ccxt/pro/hyperliquid.py
ccxt.pro.hyperliquid.hyperliquid
from ccxt.async_support.base.ws.client import Client import ccxt.async_support from typing import List from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.types import Any, Bool, Int, Market, Num, Order, OrderBook, OrderRequest, OrderSide, OrderType, Str...
class hyperliquid(ccxt.async_support.hyperliquid): def describe(self) -> Any: pass async def create_orders_ws(self, orders: List[OrderRequest], params={}): ''' create a list of trade orders using WebSocket post request https://hyperliquid.gitbook.io/hyperliquid-docs/for-develo...
38
15
27
1
15
11
2
0.75
1
17
10
0
35
2
35
978
981
61
527
239
491
395
377
239
341
6
4
2
80
12,246
ccxt/ccxt
python/ccxt/pro/independentreserve.py
ccxt.pro.independentreserve.independentreserve
import ccxt.async_support from typing import List from ccxt.base.errors import ChecksumError from ccxt.async_support.base.ws.client import Client from ccxt.async_support.base.ws.cache import ArrayCache from ccxt.base.errors import NotSupported from ccxt.base.types import Any, Int, OrderBook, Trade class independentres...
class independentreserve(ccxt.async_support.independentreserve): def describe(self) -> Any: pass async def watch_trades(self, symbol: str, since: Int=None, limit: Int=None, params={}) -> List[Trade]: ''' get the list of most recent trades for a particular symbol :param str sym...
13
2
21
0
14
7
2
0.5
1
10
6
0
12
0
12
897
259
12
165
66
152
83
115
66
102
10
4
3
25
12,247
ccxt/ccxt
python/ccxt/pro/kraken.py
ccxt.pro.kraken.kraken
from ccxt.base.errors import RateLimitExceeded from ccxt.base.types import Any, Balances, Bool, Int, Num, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import ExchangeNotAvailable from ccxt.base.errors import ChecksumError from ccxt.base.precise import Precise from c...
class kraken(ccxt.async_support.kraken): def describe(self) -> Any: pass def order_request_ws(self, method: str, symbol: str, type: str, request: dict, amount: Num, price: Num=None, params={}): pass async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: fl...
48
16
31
1
19
12
3
0.64
1
29
23
0
46
2
46
975
1,496
78
869
334
822
552
594
334
547
12
4
5
123
12,248
ccxt/ccxt
python/ccxt/pro/krakenfutures.py
ccxt.pro.krakenfutures.krakenfutures
from ccxt.base.errors import AuthenticationError from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById import hashlib from ccxt.base.errors import ArgumentsRequired from typing import List from ccxt.base.precise import Precise from ccxt.async_support.base.ws.client import Client import ccxt.as...
class krakenfutures(ccxt.async_support.krakenfutures): def describe(self) -> Any: pass async def authenticate(self, params={}): ''' @ignore authenticates the user to access private web socket channels https://docs.futures.kraken.com/#websocket-api-public-feeds-challenge ...
37
15
41
1
20
21
3
1.06
1
19
13
0
36
3
36
943
1,501
60
705
249
668
744
472
248
435
14
4
4
105
12,249
ccxt/ccxt
python/ccxt/pro/kucoin.py
ccxt.pro.kucoin.kucoin
from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import ExchangeError from typing import List from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.errors import ArgumentsRequired from ccxt.base.types import Any, Balances, Bool, I...
class kucoin(ccxt.async_support.kucoin): def describe(self) -> Any: pass async def negotiate(self, privateChannel, params={}): pass async def negotiate_helper(self, privateChannel, params={}): pass def request_id(self): pass async def subscribe(self, url, messag...
50
17
28
1
16
11
3
0.72
1
18
11
0
46
3
46
983
1,339
76
739
327
692
530
568
326
521
9
4
4
121
12,250
ccxt/ccxt
python/ccxt/pro/kucoinfutures.py
ccxt.pro.kucoinfutures.kucoinfutures
from ccxt.async_support.base.ws.client import Client import ccxt.async_support from typing import List from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade from ccxt.base.errors import ArgumentsRequired from ccxt.async_support.base.ws.cache import ArrayC...
class kucoinfutures(ccxt.async_support.kucoinfutures): def describe(self) -> Any: pass async def negotiate(self, privateChannel, params={}): pass async def negotiate_helper(self, privateChannel, params={}): pass def request_id(self): pass async def subscribe(sel...
51
15
23
0
14
9
2
0.64
1
19
12
0
50
3
50
1,045
1,210
72
695
307
644
448
519
306
468
7
5
3
113
12,251
ccxt/ccxt
python/ccxt/pro/lbank.py
ccxt.pro.lbank.lbank
from ccxt.base.errors import ExchangeError from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from typing import List import math import ccxt.async_support from ccxt.async_support.base.ws.client import Client from ccxt.base.types import Any, Balances, Int, Order, Orde...
class lbank(ccxt.async_support.lbank): def describe(self) -> Any: pass def request_id(self): pass async def fetch_ohlcv_ws(self, symbol: str, timeframe='1m', since: Int=None, limit: Int=None, params={}) -> List[list]: ''' https://www.lbank.com/en-US/docs/index.html#reques...
27
10
34
1
19
15
2
0.76
1
16
9
0
24
1
24
939
850
42
465
168
440
352
287
167
262
5
4
3
51
12,252
ccxt/ccxt
python/ccxt/pro/luno.py
ccxt.pro.luno.luno
from ccxt.async_support.base.ws.client import Client import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCache from ccxt.base.types import Any, IndexType, Int, OrderBook, Trade from typing import List class luno(ccxt.async_support.luno): def describe(self) -> Any: return self.deep_...
class luno(ccxt.async_support.luno): def describe(self) -> Any: pass async def watch_trades(self, symbol: str, since: Int=None, limit: Int=None, params={}) -> List[Trade]: ''' get the list of most recent trades for a particular symbol https://www.luno.com/en/developers/api#tag...
12
2
26
0
15
11
2
0.73
1
9
4
0
11
0
11
903
294
13
163
64
151
119
110
64
98
5
4
2
25
12,253
ccxt/ccxt
python/ccxt/pro/mexc.py
ccxt.pro.mexc.mexc
from ccxt.base.errors import NotSupported import hashlib from ccxt.base.types import Any, Balances, Int, Order, OrderBook, Str, Strings, Ticker, Tickers, Trade from ccxt.async_support.base.ws.client import Client from typing import List import ccxt.async_support from ccxt.base.errors import AuthenticationError from ccx...
class mexc(ccxt.async_support.mexc): def describe(self) -> Any: pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market https://mexcd...
50
15
34
0
18
16
3
0.87
1
18
12
0
41
2
41
995
1,436
59
747
273
705
647
517
271
475
10
4
4
110
12,254
ccxt/ccxt
python/ccxt/pro/myokx.py
ccxt.pro.myokx.myokx
from ccxt.pro.okx import okx from ccxt.base.types import Any class myokx(okx): def describe(self) -> Any: return self.deep_extend(super(myokx, self).describe(), {'id': 'myokx', 'name': 'MyOKX(EEA)', 'hostname': 'eea.okx.com', 'urls': {'api': {'rest': 'https://{hostname}', 'ws': 'wss://wseea.okx.com:8443/w...
class myokx(okx): def describe(self) -> Any: pass
2
0
18
0
18
0
1
0
1
1
0
0
1
0
1
1,062
20
1
19
2
17
0
3
2
1
1
5
0
1
12,255
ccxt/ccxt
python/ccxt/pro/ndax.py
ccxt.pro.ndax.ndax
from ccxt.async_support.base.ws.cache import ArrayCache import json from ccxt.base.types import Any, Int, OrderBook, Ticker, Trade from ccxt.async_support.base.ws.client import Client from typing import List import ccxt.async_support class ndax(ccxt.async_support.ndax): def describe(self) -> Any: return s...
class ndax(ccxt.async_support.ndax): def describe(self) -> Any: pass def request_id(self): pass async def watch_ticker(self, symbol: str, params={}) -> Ticker: ''' watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for...
14
4
38
1
23
16
3
0.71
1
11
5
0
13
0
13
916
506
21
297
126
283
211
206
126
192
10
4
5
39
12,256
ccxt/ccxt
python/ccxt/pro/okcoin.py
ccxt.pro.okcoin.okcoin
from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderBook, Str, Ticker, Trade from ccxt.async_support.base.ws.client import Client import ccxt.async_support from typing import List from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.errors i...
class okcoin(ccxt.async_support.okcoin): def describe(self) -> Any: pass async def subscribe(self, channel, symbol, params={}): pass async def watch_trades(self, symbol: str, since: Int=None, limit: Int=None, params={}) -> List[Trade]: ''' get the list of most recent trad...
26
6
27
0
14
13
3
0.92
1
17
11
0
25
1
25
934
702
37
350
152
324
321
280
151
254
13
4
3
72
12,257
ccxt/ccxt
python/ccxt/pro/okx.py
ccxt.pro.okx.okx
from ccxt.base.errors import AuthenticationError from ccxt.base.types import Any, Balances, Bool, Int, Liquidation, Num, Order, OrderBook, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, FundingRate, FundingRates, Trade from ccxt.base.errors import ArgumentsRequired from ccxt.async_support.base.ws.client...
class okx(ccxt.async_support.okx): def describe(self) -> Any: pass def get_url(self, channel: str, access='public'): pass async def subscribe_multiple(self, access, channel, symbols: Strings=None, params={}): pass async def subscribe_multiple(self, access, channel, symbols: ...
72
32
31
1
17
14
3
0.81
1
27
19
1
71
4
71
1,061
2,306
117
1,220
493
1,148
983
918
492
846
11
4
5
212
12,258
ccxt/ccxt
python/ccxt/pro/onetrading.py
ccxt.pro.onetrading.onetrading
from ccxt.base.precise import Precise from ccxt.async_support.base.ws.cache import ArrayCacheBySymbolById, ArrayCacheByTimestamp from typing import List from ccxt.base.errors import ExchangeError from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import NotSupported import ccxt.async_support fro...
class onetrading(ccxt.async_support.onetrading): def describe(self) -> Any: pass async def watch_balance(self, params={}) -> Balances: ''' https://developers.bitpanda.com/exchange/#account-history-channel watch balance and get the amount of funds available for trading or funds...
32
7
40
0
19
21
3
1.11
1
16
11
1
31
3
31
926
1,277
45
583
189
551
649
357
189
325
9
4
4
80
12,259
ccxt/ccxt
python/ccxt/pro/oxfun.py
ccxt.pro.oxfun.oxfun
from ccxt.base.types import Any, Balances, Int, Market, Num, Order, OrderBook, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade import ccxt.async_support from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp from ccxt.base.er...
class oxfun(ccxt.async_support.oxfun): def describe(self) -> Any: pass async def subscribe_multiple(self, messageHashes, argsArray, params={}): pass async def watch_trades(self, symbol: str, since: Int=None, limit: Int=None, params={}) -> List[Trade]: ''' watches informat...
37
16
28
1
16
11
3
0.68
1
20
14
0
36
3
36
954
1,038
68
579
236
542
392
425
236
388
13
4
2
94
12,260
ccxt/ccxt
python/ccxt/pro/p2b.py
ccxt.pro.p2b.p2b
from ccxt.base.errors import ExchangeError import ccxt.async_support from ccxt.async_support.base.ws.client import Client from ccxt.base.errors import BadRequest from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheByTimestamp from typing import List from ccxt.base.types import Any, Bool, Int, OrderBook, ...
class p2b(ccxt.async_support.p2b): def describe(self) -> Any: pass async def subscribe(self, name: str, messageHash: str, request, params={}): ''' @ignore Connects to a websocket channel :param str name: name of the channel :param str messageHash: string to look up in...
19
8
25
1
15
9
2
0.6
1
13
8
0
18
0
18
902
471
30
278
115
259
168
197
115
178
6
4
2
39
12,261
ccxt/ccxt
python/ccxt/pro/paradex.py
ccxt.pro.paradex.paradex
from ccxt.base.types import Any, Bool, Int, OrderBook, Strings, Ticker, Tickers, Trade import ccxt.async_support from ccxt.async_support.base.ws.client import Client from typing import List from ccxt.async_support.base.ws.cache import ArrayCache class paradex(ccxt.async_support.paradex): def describe(self) -> Any...
class paradex(ccxt.async_support.paradex): def describe(self) -> Any: pass async def watch_trades(self, symbol: str, since: Int=None, limit: Int=None, params={}) -> List[Trade]: ''' get the list of most recent trades for a particular symbol https://docs.api.testnet.paradex.tra...
11
4
33
1
19
14
3
0.72
1
10
5
0
10
0
10
921
340
18
187
73
176
135
125
73
114
4
4
3
25
12,262
ccxt/ccxt
python/ccxt/pro/phemex.py
ccxt.pro.phemex.phemex
from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.errors import AuthenticationError import hashlib from ccxt.base.precise import Precise from typing import List from ccxt.async_support.base.ws.client import Client from ccxt.base.types import Any, Balan...
class phemex(ccxt.async_support.phemex): def describe(self) -> Any: pass def from_en(self, en, scale): pass def from_ep(self, ep, market=None): pass def from_ev(self, ev, market=None): pass def from_er(self, er, market=None): pass def request_id(sel...
31
8
48
0
21
27
4
1.29
1
16
11
0
30
2
30
963
1,480
42
630
267
599
811
489
267
458
11
4
3
109
12,263
ccxt/ccxt
python/ccxt/pro/poloniex.py
ccxt.pro.poloniex.poloniex
from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp from ccxt.base.precise import Precise from ccxt.async_support.base.ws.client import Client from ccxt.base.types import Any, Balances, Bool, Int, Num, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Ticke...
class poloniex(ccxt.async_support.poloniex): def describe(self) -> Any: pass async def authenticate(self, params={}): ''' @ignore authenticates the user to access private web socket channels https://api-docs.poloniex.com/spot/websocket/authentication :returns dict: re...
37
16
33
1
18
14
3
0.77
1
22
14
0
36
3
36
946
1,227
65
661
241
624
506
446
240
409
13
4
5
102
12,264
ccxt/ccxt
python/ccxt/pro/probit.py
ccxt.pro.probit.probit
from ccxt.base.errors import NotSupported from ccxt.async_support.base.ws.client import Client import ccxt.async_support from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderBook, Str, Ticker, Trade from ccxt.base.errors import ExchangeError from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCac...
class probit(ccxt.async_support.probit): def describe(self) -> Any: pass async def watch_balance(self, params={}) -> Balances: ''' watch balance and get the amount of funds available for trading or funds locked in orders https://docs-en.probit.com/reference/balance-1 :...
24
6
23
1
13
9
3
0.68
1
15
10
0
23
3
23
925
544
35
305
142
281
207
256
142
232
8
4
2
59
12,265
ccxt/ccxt
python/ccxt/pro/upbit.py
ccxt.pro.upbit.upbit
from ccxt.async_support.base.ws.client import Client from typing import List from ccxt.base.errors import NotSupported from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById from ccxt.base.types import Any, Balances, Int, Order, OrderBook, Str, Strings, Ticker, Tickers, Trade import ccxt.async_...
class upbit(ccxt.async_support.upbit): def describe(self) -> Any: pass async def watch_public(self, symbol: str, channel, params={}): pass async def watch_public_multiple(self, symbols: Strings, channel, params={}): pass async def watch_ticker(self, symbol: str, params={}) -...
27
9
24
1
16
8
2
0.49
1
13
8
0
24
2
24
927
606
40
380
143
355
187
257
143
232
5
4
2
49
12,266
ccxt/ccxt
python/ccxt/pro/whitebit.py
ccxt.pro.whitebit.whitebit
from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheByTimestamp import ccxt.async_support from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderBook, Str, Strings, Ticker, Tickers, Trade from typing import List from ccxt.async_support.base.ws.client import Client from ...
class whitebit(ccxt.async_support.whitebit): def describe(self) -> Any: pass async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int=None, limit: Int=None, params={}) -> List[list]: ''' watches historical candlestick data containing the open, high, low, and close price, an...
32
8
28
1
18
10
3
0.55
1
19
13
0
31
3
31
945
901
47
554
217
522
307
397
215
365
7
4
4
79
12,267
ccxt/ccxt
python/ccxt/pro/woo.py
ccxt.pro.woo.woo
from typing import List from ccxt.base.precise import Precise from ccxt.async_support.base.ws.client import Client from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade import hashlib from ccxt.base.errors import AuthenticationError from ccxt.base.errors ...
class woo(ccxt.async_support.woo): def describe(self) -> Any: pass def request_id(self, url): pass async def watch_public(self, messageHash, message): pass async def watch_order_book(self, symbol: str, limit: Int=None, params={}) -> OrderBook: ''' https://doc...
47
10
26
0
17
9
3
0.54
1
20
14
0
46
3
46
990
1,253
64
775
319
728
417
566
316
519
9
4
4
122
12,268
ccxt/ccxt
python/ccxt/pro/woofipro.py
ccxt.pro.woofipro.woofipro
from ccxt.base.precise import Precise from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp from ccxt.async_support.base.ws.client import Client from ccxt.base.types import Any, Balances, Bool, Int, Order, OrderBook, Position, Str, Strings, Tick...
class woofipro(ccxt.async_support.woofipro): def describe(self) -> Any: pass def request_id(self, url): pass async def watch_public(self, messageHash, message): pass async def watch_order_book(self, symbol: str, limit: Int=None, params={}) -> OrderBook: ''' h...
42
10
30
0
18
11
2
0.64
1
20
14
0
41
4
41
965
1,256
61
730
296
688
467
503
295
461
9
4
4
102
12,269
ccxt/ccxt
python/ccxt/pro/xt.py
ccxt.pro.xt.xt
from ccxt.async_support.base.ws.client import Client from ccxt.base.types import Any, Balances, Int, Market, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade from typing import List from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTim...
class xt(ccxt.async_support.xt): def describe(self) -> Any: pass async def get_listen_key(self, isContract: bool): ''' @ignore required for private endpoints :param str isContract: True for contract trades https://doc.xt.com/#websocket_privategetToken https://...
31
11
39
1
17
22
3
1.29
1
15
9
0
26
3
26
956
1,055
46
442
192
415
571
341
192
314
10
4
3
86
12,270
ccxt/ccxt
python/ccxt/probit.py
ccxt.probit.probit
from ccxt.base.errors import DDoSProtection import math from ccxt.base.errors import RateLimitExceeded from ccxt.base.errors import BadResponse from ccxt.base.errors import ExchangeError from ccxt.base.errors import BadSymbol from ccxt.base.errors import InsufficientFunds from ccxt.base.errors import ExchangeNotAvailab...
class probit(Exchange, ImplicitAPI): def describe(self) -> Any: pass def fetch_markets(self, params={}) -> List[Market]: ''' https://docs-en.probit.com/reference/market retrieves data on all markets for probit :param dict [params]: extra parameters specific to the exch...
41
23
45
1
27
17
3
0.62
2
28
21
0
40
0
40
639
1,828
82
1,096
295
1,055
681
532
295
491
10
2
4
115
12,271
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/curves.py
ccxt.static_dependencies.ecdsa.curves.Curve
from . import der, ecdsa class Curve: def __init__(self, name, curve, generator, oid, openssl_name=None): self.name = name self.openssl_name = openssl_name self.curve = curve self.generator = generator self.order = generator.order() self.baselen = orderlen(self.orde...
class Curve: def __init__(self, name, curve, generator, oid, openssl_name=None): pass
2
0
11
0
11
1
1
0.08
0
0
0
0
1
10
1
1
12
0
12
12
10
1
12
12
10
1
0
0
1
12,272
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/curves.py
ccxt.static_dependencies.ecdsa.curves.UnknownCurveError
class UnknownCurveError(Exception): pass
class UnknownCurveError(Exception): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
10
2
0
2
1
1
0
2
1
1
0
3
0
0
12,273
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/der.py
ccxt.static_dependencies.ecdsa.der.UnexpectedDER
class UnexpectedDER(Exception): pass
class UnexpectedDER(Exception): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
10
2
0
2
1
1
0
2
1
1
0
3
0
0
12,274
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/ecdsa.py
ccxt.static_dependencies.ecdsa.ecdsa.Private_key
from . import numbertheory class Private_key(object): """Private key for ECDSA. """ def __init__(self, public_key, secret_multiplier): """public_key is of class Public_key; secret_multiplier is a large integer. """ self.public_key = public_key self.secret_multiplier = secret_...
class Private_key(object): '''Private key for ECDSA. ''' def __init__(self, public_key, secret_multiplier): '''public_key is of class Public_key; secret_multiplier is a large integer. ''' pass def sign(self, hash, random_k): '''Return a signature for the provided has...
3
3
18
2
9
8
3
0.94
1
2
2
0
2
2
2
2
40
5
18
12
15
17
17
12
14
4
1
1
5
12,275
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/ecdsa.py
ccxt.static_dependencies.ecdsa.ecdsa.Public_key
from . import numbertheory from . import ellipticcurve class Public_key(object): """Public key for ECDSA. """ def __init__(self, generator, point): """generator is the Point that generates the group, point is the Point that defines the public key. """ self.curve = generator.curve() ...
class Public_key(object): '''Public key for ECDSA. ''' def __init__(self, generator, point): '''generator is the Point that generates the group, point is the Point that defines the public key. ''' pass def verifies(self, hash, signature): '''Verify that signature is ...
3
3
18
2
13
4
4
0.33
1
1
0
0
2
3
2
2
41
5
27
16
24
9
27
16
24
4
1
1
7
12,276
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/ecdsa.py
ccxt.static_dependencies.ecdsa.ecdsa.RSZeroError
class RSZeroError(RuntimeError): pass
class RSZeroError(RuntimeError): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
11
2
0
2
1
1
0
2
1
1
0
4
0
0
12,277
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/ecdsa.py
ccxt.static_dependencies.ecdsa.ecdsa.Signature
from . import numbertheory from . import ellipticcurve class Signature(object): """ECDSA signature. """ def __init__(self, r, s, recovery_param): self.r = r self.s = s self.recovery_param = recovery_param def recover_public_keys(self, hash, generator): """Returns two pub...
class Signature(object): '''ECDSA signature. ''' def __init__(self, r, s, recovery_param): pass def recover_public_keys(self, hash, generator): '''Returns two public keys for which the signature is valid hash is signed hash generator is the used generator of the signature ...
3
2
16
2
11
4
2
0.41
1
2
2
0
2
3
2
2
37
6
22
21
19
9
22
21
19
2
1
0
3
12,278
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/ellipticcurve.py
ccxt.static_dependencies.ecdsa.ellipticcurve.CurveFp
class CurveFp(object): """Elliptic Curve over the field of integers modulo a prime.""" def __init__(self, p, a, b): """The curve of points satisfying y^2 = x^3 + a*x + b (mod p).""" self.__p = p self.__a = a self.__b = b def p(self): return self.__p def a(self)...
class CurveFp(object): '''Elliptic Curve over the field of integers modulo a prime.''' def __init__(self, p, a, b): '''The curve of points satisfying y^2 = x^3 + a*x + b (mod p).''' pass def p(self): pass def a(self): pass def b(self): pass def contai...
7
3
3
0
2
0
1
0.2
1
0
0
0
6
3
6
6
24
6
15
10
8
3
15
10
8
1
1
0
6
12,279
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/ellipticcurve.py
ccxt.static_dependencies.ecdsa.ellipticcurve.Point
from . import numbertheory class Point(object): """A point on an elliptic curve. Altering x and y is forbidding, but they can be read by the x() and y() methods.""" def __init__(self, curve, x, y, order=None): """curve, x, y, order; order (optional) is the order of this point.""" self.__c...
class Point(object): '''A point on an elliptic curve. Altering x and y is forbidding, but they can be read by the x() and y() methods.''' def __init__(self, curve, x, y, order=None): '''curve, x, y, order; order (optional) is the order of this point.''' pass def __eq__(self, other): ...
13
7
10
2
8
1
2
0.16
1
0
0
0
11
4
11
11
128
29
85
32
72
14
79
32
66
7
1
2
28
12,280
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/keys.py
ccxt.static_dependencies.ecdsa.keys.BadDigestError
class BadDigestError(Exception): pass
class BadDigestError(Exception): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
10
2
0
2
1
1
0
2
1
1
0
3
0
0
12,281
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/keys.py
ccxt.static_dependencies.ecdsa.keys.BadSignatureError
class BadSignatureError(Exception): pass
class BadSignatureError(Exception): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
10
2
0
2
1
1
0
2
1
1
0
3
0
0
12,282
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/keys.py
ccxt.static_dependencies.ecdsa.keys.SigningKey
from .ecdsa import RSZeroError from .curves import NIST192p, find_curve from . import ecdsa from . import der import binascii from hashlib import sha1 from .util import string_to_number, number_to_string, randrange from .util import sigencode_string, sigdecode_string from . import rfc6979 class SigningKey: def __...
class SigningKey: def __init__(self, _error__please_use_generate=None): pass @classmethod def generate(klass, curve=NIST192p, entropy=None, hashfunc=sha1): pass @classmethod def from_secret_exponent(klass, secexp, curve=NIST192p, hashfunc=sha1): pass @classmethod de...
22
2
10
1
7
3
2
0.37
0
8
6
0
10
0
15
15
188
25
119
53
93
44
94
44
77
6
0
2
27
12,283
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/keys.py
ccxt.static_dependencies.ecdsa.keys.VerifyingKey
from .util import string_to_number, number_to_string, randrange from .util import oid_ecPublicKey, encoded_oid_ecPublicKey from hashlib import sha1 from .curves import NIST192p, find_curve from .util import sigencode_string, sigdecode_string from . import ecdsa import binascii from . import der class VerifyingKey: ...
class VerifyingKey: def __init__(self, _error__please_use_generate=None): pass @classmethod def from_public_point(klass, point, curve=NIST192p, hashfunc=sha1): pass @classmethod def from_string(klass, string, curve=NIST192p, hashfunc=sha1, validate_point=True): pass @cl...
19
0
9
0
7
1
2
0.1
0
7
6
0
6
0
12
12
121
15
96
52
75
10
80
45
66
4
0
1
19
12,284
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/numbertheory.py
ccxt.static_dependencies.ecdsa.numbertheory.NegativeExponentError
class NegativeExponentError(Error): pass
class NegativeExponentError(Error): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
10
2
0
2
1
1
0
2
1
1
0
4
0
0
12,285
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/numbertheory.py
ccxt.static_dependencies.ecdsa.numbertheory.SquareRootError
class SquareRootError(Error): pass
class SquareRootError(Error): pass
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
10
2
0
2
1
1
0
2
1
1
0
4
0
0
12,286
ccxt/ccxt
python/ccxt/static_dependencies/ecdsa/util.py
ccxt.static_dependencies.ecdsa.util.PRNG
from hashlib import sha256 class PRNG: def __init__(self, seed): self.generator = self.block_generator(seed) def __call__(self, numbytes): a = [next(self.generator) for i in range(numbytes)] return bytes(a) def block_generator(self, seed): counter = 0 while True: ...
class PRNG: def __init__(self, seed): pass def __call__(self, numbytes): pass def block_generator(self, seed): pass
4
0
4
0
4
0
2
0.42
0
2
0
0
3
1
3
3
19
2
12
8
8
5
12
8
8
3
0
2
5
12,287
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/base.py
ccxt.static_dependencies.ethereum.abi.base.BaseCoder
from ..typing.abi import TypeStr class BaseCoder: """ Base class for all encoder and decoder classes. """ is_dynamic = False def __init__(self, **kwargs): cls = type(self) for key, value in kwargs.items(): if not hasattr(cls, key): raise AttributeError('...
class BaseCoder: ''' Base class for all encoder and decoder classes. ''' def __init__(self, **kwargs): pass def validate(self): pass @classmethod def from_type_str(cls, type_str: TypeStr, registry) -> 'BaseCoder': ''' Used by :any:`ABIRegistry` to get a...
5
2
9
1
7
2
2
0.43
0
3
0
2
2
0
3
3
38
6
23
10
16
10
13
7
9
3
0
2
5
12,288
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/codec.py
ccxt.static_dependencies.ethereum.abi.codec.ABIDecoder
import warnings from .decoding import ContextFramesBytesIO, TupleDecoder from ..utils import is_bytes from typing import Any, Iterable, Tuple from ..typing.abi import Decodable, TypeStr class ABIDecoder(BaseABICoder): """ Wraps a registry to provide last-mile decoding functionality. """ stream_class = ...
class ABIDecoder(BaseABICoder): ''' Wraps a registry to provide last-mile decoding functionality. ''' def decode_single(self, typ: TypeStr, data: Decodable) -> Any: ''' Decodes the binary value ``data`` of the ABI type ``typ`` into its equivalent python value. :param ty...
4
3
19
3
10
6
2
0.71
1
5
1
1
3
0
3
4
67
14
31
10
27
22
19
10
15
2
1
1
5
12,289
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/codec.py
ccxt.static_dependencies.ethereum.abi.codec.ABIEncoder
import warnings from ..typing.abi import Decodable, TypeStr from typing import Any, Iterable, Tuple from .exceptions import EncodingError from .encoding import TupleEncoder class ABIEncoder(BaseABICoder): """ Wraps a registry to provide last-mile encoding functionality. """ def encode_single(self, typ...
class ABIEncoder(BaseABICoder): ''' Wraps a registry to provide last-mile encoding functionality. ''' def encode_single(self, typ: TypeStr, arg: Any) -> bytes: ''' Encodes the python value ``arg`` as a binary value of the ABI type ``typ``. :param typ: The string represe...
6
5
18
3
7
8
2
1.17
1
7
2
1
5
0
5
6
97
19
36
10
30
42
26
10
20
4
1
2
8
12,290
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/codec.py
ccxt.static_dependencies.ethereum.abi.codec.BaseABICoder
from .registry import ABIRegistry class BaseABICoder: """ Base class for porcelain coding APIs. These are classes which wrap instances of :class:`~.registry.ABIRegistry` to provide last-mile coding functionality. """ def __init__(self, registry: ABIRegistry): """ Constructor. ...
class BaseABICoder: ''' Base class for porcelain coding APIs. These are classes which wrap instances of :class:`~.registry.ABIRegistry` to provide last-mile coding functionality. ''' def __init__(self, registry: ABIRegistry): ''' Constructor. :param registry: The regis...
2
2
8
1
2
5
1
3.33
0
1
1
2
1
1
1
1
15
2
3
3
1
10
3
3
1
1
0
0
1
12,291
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.AddressDecoder
from ..utils import big_endian_to_int, to_normalized_address, to_tuple from .base import BaseCoder, parse_tuple_type_str, parse_type_str class AddressDecoder(Fixed32ByteSizeDecoder): value_bit_size = 20 * 8 is_big_endian = True decoder_fn = staticmethod(to_normalized_address) @parse_type_str('address'...
class AddressDecoder(Fixed32ByteSizeDecoder): @parse_type_str('address') def from_type_str(cls, abi_type, registry): pass
3
0
2
0
2
0
1
0
1
0
0
0
1
0
1
36
8
1
7
6
4
0
6
5
4
1
7
0
1
12,292
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.BaseArrayDecoder
from .base import BaseCoder, parse_tuple_type_str, parse_type_str class BaseArrayDecoder(BaseDecoder): item_decoder = None def __init__(self, **kwargs): super().__init__(**kwargs) if self.item_decoder.is_dynamic: self.item_decoder = HeadTailDecoder(tail_decoder=self.item_decoder) ...
class BaseArrayDecoder(BaseDecoder): def __init__(self, **kwargs): pass def validate(self): pass @parse_type_str(with_arrlist=True) def from_type_str(cls, abi_type, registry): pass
5
0
9
1
7
1
2
0.13
1
5
3
2
3
0
3
28
32
6
23
8
18
3
16
7
12
2
4
1
6
12,293
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.BaseDecoder
import abc from typing import Any from .base import BaseCoder, parse_tuple_type_str, parse_type_str class BaseDecoder(BaseCoder, metaclass=abc.ABCMeta): """ Base class for all decoder classes. Subclass this if you want to define a custom decoder class. Subclasses must also implement :any:`BaseCoder.f...
class BaseDecoder(BaseCoder, metaclass=abc.ABCMeta): ''' Base class for all decoder classes. Subclass this if you want to define a custom decoder class. Subclasses must also implement :any:`BaseCoder.from_type_str`. ''' @abc.abstractmethod def decode(self, stream: ContextFramesBytesIO) ->...
4
2
5
0
2
3
1
1.83
2
2
1
4
2
0
2
25
18
2
6
4
2
11
5
3
2
1
3
0
2
12,294
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.BooleanDecoder
from .base import BaseCoder, parse_tuple_type_str, parse_type_str from .exceptions import DecodingError, InsufficientDataBytes, NonEmptyPaddingBytes class BooleanDecoder(Fixed32ByteSizeDecoder): value_bit_size = 8 is_big_endian = True @staticmethod def decoder_fn(data): if data == b'\x00': ...
class BooleanDecoder(Fixed32ByteSizeDecoder): @staticmethod def decoder_fn(data): pass @parse_type_str('bool') def from_type_str(cls, abi_type, registry): pass
5
0
6
0
6
0
2
0
1
1
1
0
1
0
2
37
18
2
16
7
11
0
10
5
7
3
7
1
4
12,295
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.ByteStringDecoder
from .base import BaseCoder, parse_tuple_type_str, parse_type_str from .utils.numeric import TEN, abi_decimal_context, ceil32 from .exceptions import DecodingError, InsufficientDataBytes, NonEmptyPaddingBytes class ByteStringDecoder(SingleDecoder): is_dynamic = True @staticmethod def decoder_fn(data): ...
class ByteStringDecoder(SingleDecoder): @staticmethod def decoder_fn(data): pass @staticmethod def read_data_from_stream(stream): pass def validate_padding_bytes(self, value, padding_bytes): pass @parse_type_str('bytes') def from_type_str(cls, abi_type, registry): ...
8
0
7
1
6
0
2
0
1
2
2
1
2
0
4
34
37
9
28
13
20
0
18
10
13
3
5
1
6
12,296
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.BytesDecoder
from .base import BaseCoder, parse_tuple_type_str, parse_type_str class BytesDecoder(Fixed32ByteSizeDecoder): is_big_endian = False @staticmethod def decoder_fn(data): return data @parse_type_str('bytes') def from_type_str(cls, abi_type, registry): return cls(value_bit_size=abi_ty...
class BytesDecoder(Fixed32ByteSizeDecoder): @staticmethod def decoder_fn(data): pass @parse_type_str('bytes') def from_type_str(cls, abi_type, registry): pass
5
0
2
0
2
0
1
0
1
0
0
0
1
0
2
37
10
2
8
6
3
0
6
4
3
1
7
0
2
12,297
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.ContextFramesBytesIO
import io class ContextFramesBytesIO(io.BytesIO): """ A byte stream which can track a series of contextual frames in a stack. This data structure is necessary to perform nested decodings using the :py:class:``HeadTailDecoder`` since offsets present in head sections are relative only to a particular...
class ContextFramesBytesIO(io.BytesIO): ''' A byte stream which can track a series of contextual frames in a stack. This data structure is necessary to perform nested decodings using the :py:class:``HeadTailDecoder`` since offsets present in head sections are relative only to a particular encoded o...
5
4
8
1
4
3
1
2.72
0
2
0
0
4
2
4
4
79
12
18
8
13
49
18
8
13
2
0
1
5
12,298
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.DynamicArrayDecoder
from ..utils import big_endian_to_int, to_normalized_address, to_tuple class DynamicArrayDecoder(BaseArrayDecoder): is_dynamic = True @to_tuple def decode(self, stream): array_size = decode_uint_256(stream) stream.push_frame(32) for _ in range(array_size): yield self.it...
class DynamicArrayDecoder(BaseArrayDecoder): @to_tuple def decode(self, stream): pass
3
0
6
0
6
0
2
0.11
1
1
0
0
1
0
1
29
11
1
9
6
6
1
8
5
6
2
5
1
2
12,299
ccxt/ccxt
python/ccxt/static_dependencies/ethereum/abi/decoding.py
ccxt.static_dependencies.ethereum.abi.decoding.FixedByteSizeDecoder
from .exceptions import DecodingError, InsufficientDataBytes, NonEmptyPaddingBytes class FixedByteSizeDecoder(SingleDecoder): decoder_fn = None value_bit_size = None data_byte_size = None is_big_endian = None def validate(self): super().validate() if self.value_bit_size is None: ...
class FixedByteSizeDecoder(SingleDecoder): def validate(self): pass def read_data_from_stream(self, stream): pass def split_data_and_padding(self, raw_data): pass def validate_padding_bytes(self, value, padding_bytes): pass def _get_value_byte_size(self): ...
6
0
11
2
10
0
3
0
1
4
2
1
5
0
5
35
66
13
53
18
47
0
41
18
35
7
5
1
14