get
https://sandboxapi.legendtrading.com/app/fees
Get the trading fee schedule and wire out fee based on the size - 根据交易金额查询手续费
import requests
headers = {
'Authorization': 'Bearer %s' % api_token,
'Accept':'application/json'
}
response = requests.get('https://sandboxapi.legendtrading.com/app/fees', headers=headers)
data = response.json()
print(data)trading fee就是我们在这个金额以内会收的交易费用,按百分比计算。wire out fee就是如果用户出金,我们收取的费用。
如果API返回值为
[ {
"size": "$2000",
"trading_fee": "5%",
"wire_out_fee": "$30"
},
{
"size": "$5000",
"trading_fee": "4.5%",
"wire_out_fee": "$30"
},
{
"size": "$10000",
"trading_fee": "3.5%",
"wire_out_fee": "$30"
},
...
]那么,
对于交易量 1-2000,交易手续费3.5%,出金收费$30;
对于交易量 2000-5000, 交易手续费3%,出金收费$30;
对于交易量 5000-10000, 交易手续费3%,出金收费$30;
比如出金1000 USD,用1-2000的配置,手续费$30。除了JPY,都是按照30收费,比如30 USD, 30 CAD。
