Enrich markets mock with "type" and "spot" info

This commit is contained in:
Matthias 2021-10-31 18:58:59 +01:00
parent bfca9e7c09
commit 8990097d6f

View File

@ -575,6 +575,8 @@ def get_markets():
'base': 'ETH',
'quote': 'BTC',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -604,6 +606,8 @@ def get_markets():
'quote': 'BTC',
# According to ccxt, markets without active item set are also active
# 'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -632,6 +636,8 @@ def get_markets():
'base': 'BLK',
'quote': 'BTC',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -660,6 +666,8 @@ def get_markets():
'base': 'LTC',
'quote': 'BTC',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -685,6 +693,8 @@ def get_markets():
'base': 'XRP',
'quote': 'BTC',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -710,6 +720,8 @@ def get_markets():
'base': 'NEO',
'quote': 'BTC',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -735,6 +747,8 @@ def get_markets():
'base': 'BTT',
'quote': 'BTC',
'active': False,
'spot': True,
'type': 'spot',
'precision': {
'base': 8,
'quote': 8,
@ -762,6 +776,8 @@ def get_markets():
'symbol': 'ETH/USDT',
'base': 'ETH',
'quote': 'USDT',
'spot': True,
'type': 'spot',
'precision': {
'amount': 8,
'price': 8
@ -785,6 +801,8 @@ def get_markets():
'base': 'LTC',
'quote': 'USDT',
'active': False,
'spot': True,
'type': 'spot',
'precision': {
'amount': 8,
'price': 8
@ -807,6 +825,8 @@ def get_markets():
'base': 'XRP',
'quote': 'USDT',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -832,6 +852,8 @@ def get_markets():
'base': 'NEO',
'quote': 'USDT',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -857,6 +879,8 @@ def get_markets():
'base': 'TKN',
'quote': 'USDT',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'price': 8,
'amount': 8,
@ -882,6 +906,8 @@ def get_markets():
'base': 'LTC',
'quote': 'USD',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'amount': 8,
'price': 8
@ -904,6 +930,8 @@ def get_markets():
'base': 'LTC',
'quote': 'USDT',
'active': True,
'spot': False,
'type': 'SomethingElse',
'precision': {
'amount': 8,
'price': 8
@ -926,6 +954,8 @@ def get_markets():
'base': 'LTC',
'quote': 'ETH',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'base': 8,
'quote': 8,
@ -976,6 +1006,8 @@ def shitcoinmarkets(markets_static):
'base': 'HOT',
'quote': 'BTC',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'base': 8,
'quote': 8,
@ -1004,6 +1036,8 @@ def shitcoinmarkets(markets_static):
'base': 'FUEL',
'quote': 'BTC',
'active': True,
'spot': True,
'type': 'spot',
'precision': {
'base': 8,
'quote': 8,