Giter Site home page Giter Site logo

Comments (3)

studerw avatar studerw commented on June 1, 2024

Hi @higgsja - Sorry been busy for a week. Was this problem ever resolved? I've never seen an SSL error from TDA, though maybe they changed their API server certs...

from td-ameritrade-client.

higgsja avatar higgsja commented on June 1, 2024

from td-ameritrade-client.

higgsja avatar higgsja commented on June 1, 2024

Finally think I resolved the http issue. You are using different versions of okio and okhttp3 than I had; switched to what you are using and that went away.

I'm left with the same issues as #31 on option chains. Tracked it down to
DefaultMapper public static <T> T fromJson(InputStream in, TypeReference<T> typeReference) { try (BufferedInputStream ignored = new BufferedInputStream(in)) { return defaultMapper.readValue(in, typeReference); } catch (IOException e) { throw new RuntimeException(e); }
with an exception like:
Cannot deserialize value of type java.math.BigDecimal from String "NaN": not a valid representation at [Source: (BufferedInputStream); line: 1, column: 38443] (through reference chain: com.studerw.tda.model.option.OptionChain["putExpDateMap"]->java.util.LinkedHashMap["2020-10-23:5"]->java.util.LinkedHashMap["42.0"]->java.util.ArrayList[0]

Apparently some field on the return is not a number but I am not smart enough to track further. I've tried a couple tickers, same result.

I'll also post this under #31.

from td-ameritrade-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.