added swap and linear to conftest markets

This commit is contained in:
Sam Germain 2022-02-11 07:01:50 -06:00
parent 7a0f7da128
commit e3bd40c3c7

View File

@ -579,6 +579,8 @@ def get_markets():
'quote': 'BTC',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'precision': {
'price': 8,
@ -614,6 +616,8 @@ def get_markets():
# According to ccxt, markets without active item set are also active
# 'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'precision': {
'price': 8,
@ -648,6 +652,8 @@ def get_markets():
'quote': 'BTC',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'precision': {
'price': 8,
@ -682,6 +688,8 @@ def get_markets():
'quote': 'BTC',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'precision': {
'price': 8,
@ -717,6 +725,8 @@ def get_markets():
'quote': 'BTC',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'precision': {
'price': 8,
@ -752,6 +762,8 @@ def get_markets():
'quote': 'BTC',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'precision': {
'price': 8,
@ -787,6 +799,8 @@ def get_markets():
'quote': 'BTC',
'active': False,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'contractSize': None,
'precision': {
@ -877,6 +891,7 @@ def get_markets():
'future': True,
'swap': True,
'margin': True,
'linear': True,
'type': 'spot',
'contractSize': None,
'taker': 0.0006,
@ -912,6 +927,8 @@ def get_markets():
'quote': 'USDT',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'taker': 0.0006,
'maker': 0.0002,
@ -945,6 +962,8 @@ def get_markets():
'quote': 'USDT',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'taker': 0.0006,
'maker': 0.0002,
@ -978,6 +997,8 @@ def get_markets():
'quote': 'USDT',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'contractSize': None,
'taker': 0.0006,
@ -1015,6 +1036,8 @@ def get_markets():
'quote': 'USD',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'contractSize': None,
'precision': {
@ -1048,6 +1071,8 @@ def get_markets():
'quote': 'USDT',
'active': True,
'spot': False,
'swap': True,
'linear': True,
'type': 'swap',
'contractSize': 0.01,
'taker': 0.0006,
@ -1083,6 +1108,8 @@ def get_markets():
'quote': 'ETH',
'active': True,
'spot': True,
'swap': False,
'linear': None,
'type': 'spot',
'contractSize': None,
'precision': {