aurbano / robinhood-node

:chart_with_upwards_trend: NodeJS client for Robinhood Trading :fire:
https://aurbano.github.io/robinhood-node
MIT License
694 stars 184 forks source link

Augmented orders method to accept instrument and date limiters #56

Closed swimclan closed 7 years ago

swimclan commented 7 years ago

@aurbano Implemented additional functionality in the orders api method. Now consumers can send an optional 'options' hash to the orders method to limit returned orders data to specific instrument and/or limit to orders placed on or after a specified date.

This is not a breaking change and allows existing consumers to continue sending just a callback to expect an exhaustive, paginated collection of all their orders.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-3.5%) to 50.909% when pulling 9b8a7d37091e4d90fbfacb485b273f51e91b731c on swimclan:master into e5b7cee634d46b6f1dc57db6bc3cfcb91777514d on aurbano:master.