aurbano / robinhood-node

:chart_with_upwards_trend: NodeJS client for Robinhood Trading :fire:

Home Page:https://aurbano.github.io/robinhood-node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

orders api can't retrieve all orders

wakoong opened this issue · comments

I am trying to retrieve all my orders but the API can't seem to retrieve data before August 2019. I tried not passing in the optional options hash and passing in the hash with the updated_at key set to '2017-01-01'. In both cases, the API only retrieved orders starting from around 2019-08-04. I would appreciate if someone can look into this issue! Thanks.

var Robinhood = require('robinhood')(credentials, function(){
    Robinhood.orders(options, function(err, response, body){
        if(err){
            console.error(err);
        }else{
            console.log("orders");
            console.log(body);
        }
    })
});

This seems like a limitation of their API, has anyone been able to go further than that?