Пример #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));
        }