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

OrdersEndpoint.requestLimitOrder() takes only Integer as quantity, should take Double #120

Closed jessethouin closed 2 years ago

jessethouin commented 2 years ago

Since OrdersEndpoint.requestLimitOrder() is a wrapper for OrdersEndpoint.requestOrder(), the type of "quantity" fields should match. For example, I should be able to submit a limit order for .075 BTCUSD, but am currently stuck with only whole numbers.

Petersoj commented 2 years ago

Fixed by PR #121.