Also, I am getting 401 unauthorised when I try to get positions using the REST API ( I believe my headers are correct ). Is there anything specific for perpetuals (and the margin endpoints) that I need to be aware? I think I read somewhere that for margin/perpetuals the account needs to be enabled server side to trade (even in demo)
Also, I am getting 401 unauthorised when I try to get positions using the REST API ( I believe my headers are correct ). Is there anything specific for perpetuals (and the margin endpoints) that I need to be aware? I think I read somewhere that for margin/perpetuals the account needs to be enabled server side to trade (even in demo)