Petersoj / alpaca-java

A Java API for Alpaca, the commission free, algo friendly, stock trading broker. https://alpaca.markets
https://petersoj.github.io/alpaca-java/
MIT License
198 stars 84 forks source link

LastQuoteResponse.last is an ArrayList #35

Closed mainstringargs closed 4 years ago

mainstringargs commented 4 years ago

In the schema it is set up like this:

    "last": {
      "existingJavaType": "java.util.ArrayList<io.github.mainstringargs.domain.polygon.lastquote.LastQuote>",
      "title": "last"
    }

But last in the documentation is an object:

https://polygon.io/docs/#!/Stocks--Equities/get_v1_last_quote_stocks_symbol

mainstringargs commented 4 years ago

@Petersoj Can you take a quick look at this and tell me if you agree? @artur-tamazian pointed this out in slack

Petersoj commented 4 years ago

@mainstringargs You are correct. #36 fixes this.