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
197 stars 82 forks source link

Added/updated API JSON Response files for both v1 and v2 #12

Closed Petersoj closed 5 years ago

Petersoj commented 5 years ago

This PR is to add the Alpaca Power Account v2 data to the JSON files in sampleJson/alpaca. When parsing the raw JSON either from a v1 or v2 response, the data is still properly integrated with GSON so there isn't any issue with simply using the v2 API data responses as the JSON API Response POJOs. v1 API users can simply ignore the fields for v2. Let me know if this is fine with you.

mainstringargs commented 5 years ago

Looks good. I’ll give it a try on Monday and then merge