public async Task <ActivePositionsResponse> GetActivePositionsAsync() { ActivePositionsRequest req = new ActivePositionsRequest(Nonce); string response = await SendRequestAsync(req, "POST"); return(ActivePositionsResponse.FromJSON(response)); }
public ActivePositionsResponse GetActivePositions() { ActivePositionsRequest req = new ActivePositionsRequest(Nonce); string response = SendRequest(req, "POST"); return(ActivePositionsResponse.FromJSON(response)); }