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

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

            return(ActivePositionsResponse.FromJSON(response));
        }