Repository navigation
Expand file tree
/
Copy pathbinanceus.py
More file actions
40 lines (35 loc) · 1.65 KB
/
Copy pathbinanceus.py
File metadata and controls
40 lines (35 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- 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.binance import binance
class binanceus(binance):
def describe(self):
return self.deep_extend(super(binanceus, self).describe(), {
'id': 'binanceus',
'name': 'Binance US',
'countries': ['US'], # US
'certified': False,
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/65177307-217b7c80-da5f-11e9-876e-0b748ba0a358.jpg',
'api': {
'web': 'https://www.binance.us',
'wapi': 'https://api.binance.us/wapi/v3',
'public': 'https://api.binance.us/api/v1',
'private': 'https://api.binance.us/api/v3',
'v3': 'https://api.binance.us/api/v3',
'v1': 'https://api.binance.us/api/v1',
},
'www': 'https://www.binance.us',
'referral': 'https://www.binance.us/?ref=35005074',
'doc': 'https://github.com/binance-us/binance-official-api-docs',
'fees': 'https://www.binance.us/en/fee/schedule',
},
'fees': {
'trading': {
'tierBased': False,
'percentage': True,
'taker': 0.0, # 0.1% trading fee, zero fees for all trading pairs before November 1
'maker': 0.0, # 0.1% trading fee, zero fees for all trading pairs before November 1
},
},
})