Example #1
0
        public async Task <ActivePositionsResponse> GetActivePositionsAsync()
        {
            ActivePositionsRequest req = new ActivePositionsRequest(Nonce);
            string response            = await SendRequestAsync(req, "POST");

            return(ActivePositionsResponse.FromJSON(response));
        }
Example #2
0
        public ActivePositionsResponse GetActivePositions()
        {
            ActivePositionsRequest req = new ActivePositionsRequest(Nonce);
            string response            = SendRequest(req, "POST");

            return(ActivePositionsResponse.FromJSON(response));
        }
Example #3
0
 public ActivePositionsResponse GetActivePositions()
 {
     ActivePositionsRequest req = new ActivePositionsRequest(Nonce);
     string response = SendRequest(req, "POST");
     return ActivePositionsResponse.FromJSON(response);
 }