ftx returns the data format problem.

Author: maojiangbo, Created: 2021-10-21 21:49:07, Updated:

Language: Python Exchange: ftx Code: account =exchange.IO("api",“GET”,"/api/account") balance = exchange.IO("api",“GET”,"/api/wallet/balances") position = exchange.IO("api",“GET”,"/api/positions")

The code uses a private interface and can return data normally. The fields of the returned data are identical to the documentation in the ftx api.img

But the format of the return is like this, please tell me how this happened?


More

The grassIt returns a dictionary structure that needs to be converted into a string to print.