# -*- coding: utf-8 -*-
# PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
# https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
from ccxt.async_support.base.exchange import Exchange
import json
from ccxt.base.errors import ExchangeError
from ccxt.base.errors import AuthenticationError
from ccxt.base.errors import PermissionDenied
from ccxt.base.errors import AccountSuspended
from ccxt.base.errors import ArgumentsRequired
from ccxt.base.errors import BadRequest
from ccxt.base.errors import BadSymbol
from ccxt.base.errors import BadResponse
from ccxt.base.errors import InsufficientFunds
from ccxt.base.errors import InvalidOrder
from ccxt.base.errors import OrderNotFound
from ccxt.base.errors import OrderImmediatelyFillable
from ccxt.base.errors import OrderNotFillable
from ccxt.base.errors import NotSupported
from ccxt.base.errors import DDoSProtection
from ccxt.base.errors import RateLimitExceeded
from ccxt.base.errors import ExchangeNotAvailable
from ccxt.base.errors import OnMaintenance
from ccxt.base.errors import InvalidNonce
from ccxt.base.errors import RequestTimeout
from ccxt.base.decimal_to_precision import TRUNCATE
from ccxt.base.precise import Precise
class binance(Exchange):
def describe(self):
return self.deep_extend(super(binance, self).describe(), {
'id': 'binance',
'name': 'Binance',
'countries': ['JP', 'MT'], # Japan, Malta
'rateLimit': 50,
'certified': True,
'pro': True,
# new metainfo interface
'has': {
'margin': True,
'swap': True,
'future': True,
'addMargin': True,
'cancelAllOrders': True,
'cancelOrder': True,
'cancelOrders': None,
'CORS': None,
'createDepositAddress': None,
'createOrder': True,
'createReduceOnlyOrder': True,
'deposit': None,
'fetchAccounts': None,
'fetchAllTradingFees': None,
'fetchBalance': True,
'fetchBidsAsks': True,
'fetchBorrowRate': True,
'fetchBorrowRateHistory': True,
'fetchBorrowRates': False,
'fetchBorrowRatesPerSymbol': False,
'fetchCanceledOrders': None,
'fetchClosedOrder': None,
'fetchClosedOrders': 'emulated',
'fetchCurrencies': True,
'fetchDeposit': None,
'fetchDepositAddress': True,
'fetchDepositAddresses': None,
'fetchDepositAddressesByNetwork': None,
'fetchDeposits': True,
'fetchFundingFee': None,
'fetchFundingFees': True,
'fetchFundingHistory': True,
'fetchFundingRate': True,
'fetchFundingRateHistory': True,
'fetchFundingRates': True,
'fetchIndexOHLCV': True,
'fetchIsolatedPositions': None,
'fetchL3OrderBook': None,
'fetchLedger': None,
'fetchLeverage': None,
'fetchMarkets': True,
'fetchMarkOHLCV': True,
'fetchMyBuys': None,
'fetchMySells': None,
'fetchMyTrades': True,
'fetchOHLCV': True,
'fetchOpenOrder': None,
'fetchOpenOrders': True,
'fetchOrder': True,
'fetchOrderBook': True,
'fetchOrderBooks': None,
'fetchOrders': True,
'fetchOrderTrades': True,
'fetchPosition': None,
'fetchPositions': True,
'fetchPositionsRisk': True,
'fetchPremiumIndexOHLCV': False,
'fetchStatus': True,
'fetchTicker': True,
'fetchTickers': True,
'fetchTime': True,
'fetchTrades': True,
'fetchTradingFee': True,
'fetchTradingFees': True,
'fetchTradingLimits': None,
'fetchTransactions': False,
'fetchTransfers': True,
'fetchWithdrawal': False,
'fetchWithdrawals': True,
'fetchWithdrawalWhitelist': False,
'loadLeverageBrackets': True,
'reduceMargin': True,
'setLeverage': True,
'setMarginMode': True,
'setPositionMode': True,
'signIn': False,
'transfer': True,
'withdraw': True,
},
'timeframes': {
'1m': '1m',
'3m': '3m',
'5m': '5m',
'15m': '15m',
'30m': '30m',
'1h': '1h',
'2h': '2h',
'4h': '4h',
'6h': '6h',
'8h': '8h',
'12h': '12h',
'1d': '1d',
'3d': '3d',
'1w': '1w',
'1M': '1M',
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/29604020-d5483cdc-87ee-11e7-94c7-d1a8d9169293.jpg',
'test': {
'dapiPublic': 'https://testnet.binancefuture.com/dapi/v1',
'dapiPrivate': 'https://testnet.binancefuture.com/dapi/v1',
'vapiPublic': 'https://testnet.binanceops.com/vapi/v1',
'vapiPrivate': 'https://testnet.binanceops.com/vapi/v1',
'fapiPublic': 'https://testnet.binancefuture.com/fapi/v1',
'fapiPrivate': 'https://testnet.binancefuture.com/fapi/v1',
'fapiPrivateV2': 'https://testnet.binancefuture.com/fapi/v2',
'public': 'https://testnet.binance.vision/api/v3',
'private': 'https://testnet.binance.vision/api/v3',
'v1': 'https://testnet.binance.vision/api/v1',
},
'api': {
'wapi': 'https://api.binance.com/wapi/v3',
'sapi': 'https://api.binance.com/sapi/v1',
'dapiPublic': 'https://dapi.binance.com/dapi/v1',
'dapiPrivate': 'https://dapi.binance.com/dapi/v1',
'vapiPublic': 'https://vapi.binance.com/vapi/v1',
'vapiPrivate': 'https://vapi.binance.com/vapi/v1',
'dapiPrivateV2': 'https://dapi.binance.com/dapi/v2',
'dapiData': 'https://dapi.binance.com/futures/data',
'fapiPublic': 'https://fapi.binance.com/fapi/v1',
'fapiPrivate': 'https://fapi.binance.com/fapi/v1',
'fapiData': 'https://fapi.binance.com/futures/data',
'fapiPrivateV2': 'https://fapi.binance.com/fapi/v2',
'public': 'https://api.binance.com/api/v3',
'private': 'https://api.binance.com/api/v3',
'v1': 'https://api.binance.com/api/v1',
},
'www': 'https://www.binance.com',
'referral': {
'url': 'https://www.binance.com/en/register?ref=D7YA7CLY',
'discount': 0.1,
},
'doc': [
'https://binance-docs.github.io/apidocs/spot/en',
],
'api_management': 'https://www.binance.com/en/usercenter/settings/api-management',
'fees': 'https://www.binance.com/en/fee/schedule',
},
'depth': 1,
'api': {
# the API structure below will need 3-layer apidefs
'sapi': {
'get': {
'system/stat
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
资源分类:Python库 所属语言:Python 资源全名:ccxt-1.69.7.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | ccxt-1.69.7.tar.gz (284个子文件)
setup.cfg 205B
MANIFEST.in 100B
package.json 12KB
PKG-INFO 112KB
PKG-INFO 112KB
binance.py 237KB
binance.py 236KB
huobi.py 226KB
huobi.py 225KB
okex3.py 164KB
okex3.py 163KB
okex.py 159KB
okex.py 158KB
bitget.py 137KB
bitget.py 136KB
bybit.py 129KB
bybit.py 129KB
gateio.py 126KB
gateio.py 126KB
phemex.py 124KB
phemex.py 124KB
exchange.py 110KB
kucoin.py 99KB
kucoin.py 99KB
bitmart.py 98KB
bitmart.py 98KB
ftx.py 97KB
ftx.py 96KB
ndax.py 93KB
aax.py 92KB
ndax.py 92KB
aax.py 92KB
ascendex.py 91KB
ascendex.py 91KB
deribit.py 86KB
deribit.py 85KB
mexc.py 84KB
mexc.py 84KB
kraken.py 80KB
kraken.py 80KB
stex.py 77KB
wavesexchange.py 77KB
stex.py 77KB
wavesexchange.py 77KB
bitpanda.py 75KB
bitpanda.py 74KB
bitrue.py 72KB
huobijp.py 72KB
bitrue.py 71KB
cryptocom.py 71KB
huobijp.py 71KB
cryptocom.py 71KB
bitfinex2.py 70KB
bitfinex2.py 70KB
cdax.py 69KB
cdax.py 68KB
kucoinfutures.py 67KB
kucoinfutures.py 67KB
xena.py 67KB
xena.py 66KB
bitmex.py 65KB
bitmex.py 65KB
bitstamp.py 62KB
exmo.py 62KB
bitvavo.py 62KB
bitstamp.py 62KB
exmo.py 62KB
bitvavo.py 61KB
hitbtc3.py 61KB
hitbtc3.py 61KB
qtrade.py 60KB
qtrade.py 60KB
upbit.py 60KB
upbit.py 60KB
poloniex.py 58KB
poloniex.py 58KB
bittrex.py 58KB
crex24.py 58KB
bittrex.py 57KB
delta.py 57KB
eqonex.py 57KB
crex24.py 57KB
delta.py 57KB
eqonex.py 57KB
bibox.py 56KB
bibox.py 56KB
digifinex.py 56KB
coinbase.py 56KB
digifinex.py 55KB
coinbase.py 55KB
bitfinex.py 53KB
coinbasepro.py 53KB
bitfinex.py 53KB
coinbasepro.py 53KB
zonda.py 52KB
zonda.py 52KB
cex.py 51KB
cex.py 51KB
vcc.py 51KB
vcc.py 51KB
共 284 条
- 1
- 2
- 3
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于javaweb的网上拍卖系统,采用Spring + SpringMvc+Mysql + Hibernate+ JSP技术
- polygon-mumbai
- Chrome代理 switchyOmega
- GVC-全球价值链参与地位指数,基于ICIO表,(Wang等 2017a)计算方法
- 易语言ADS指纹浏览器管理工具
- 易语言奇易模块5.3.6
- cad定制家具平面图工具-(FG)门板覆盖柜体
- asp.net 原生js代码及HTML实现多文件分片上传功能(自定义上传文件大小、文件上传类型)
- whl@pip install pyaudio ERROR: Failed building wheel for pyaudio
- Constantsfd密钥和权限集合.kt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功