Spot Test Network - Margin account

by
ca
captainmandarin
·2020.09.15 10:40

Hello, I would like to ask if there is a way to change my test account type from "accountType": "SPOT" to "accountType": "MARGIN"? Is this even supported by the Test Network and are all the endpoints available on the test environment? For example, I would like to execute the endpoint LISTEN KEY (MARGIN) "Create New Listen Key" - {{url}}/sapi/v1/userDataStream which on the live account returns listenKey as expected but on the test account with test network it returns a page with the text "Something bad happened :(". Thanks for any suggestions.

Answers