0

https://github.com/dougdellolio/gdax-csharp

I'm trying to get this working but when I try to build it says a few thjings don't exist.

Severity    Code    Description                 Project File    Line                                                                        Suppression State
Error       CS1003  Syntax error, ',' expected  GDAXClient      C:\Downloads\gdax-csharp-master\GDAXClient\Services\AbstractService.cs  70  Active
if (!httpResponseMessage.Headers.TryGetValues("cb-after", out var firstPageAfterCursorId))
{
    return pagedList;
}

var subsequentPages = await GetAllSubsequentPages<T>(uri, firstPageAfterCursorId.First());

pagedList.AddRange(subsequentPages);

return pagedList;

and:

Severity    Code    Description                                                     Project File    Line                                                                        Suppression State
Error       CS0103  The name 'cursorHeaders' does not exist in the current context  GDAXClient      C:\Downloads\gdax-csharp-master\GDAXClient\Services\AbstractService.cs  91  Active
if (!subsequentHttpResponseMessage.Headers.TryGetValues("cb-after", out var cursorHeaders))
{
    break;
}

subsequentPageAfterHeaderId = cursorHeaders.First();

I'm very confused...

-1

Solved by using another Gdax C# wrapper. (https://github.com/sefbkn/gdax.netcore)

Got application connected, auth'd, and receiving data.

Cheers

  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. - From Review – Jestin Dec 27 '17 at 17:56
  • gotta love it. no one answers my question. i found answer to get it working and people here to vote it down. – user5120455 Dec 27 '17 at 18:37
  • This was auto-flagged as low quality, and it is. Link only answers are petty awful. At the very least summarize why this fixed things. If you still don't know...maybe it's not worth posting an answer. – Jestin Dec 27 '17 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.