jgillick / LendingClubAutoInvestor

A simple command line tool that will automatically invest all cash that becomes available
MIT License
47 stars 21 forks source link

[proposal] More granular filters for rates #16

Closed ilyakatz closed 10 years ago

ilyakatz commented 10 years ago

Hi @jgillick

Currently LendingClub returns notes in no particular order whether a filter is applied or not. So if both A and B grade notes are allowed in the current search, an A2 note can be followed by a B4. The same is true for any grades in the same letter category. However, I find that the difference between a B1 and B5 is pretty big and ideally would prefer not to invest into B5 notes while gladly pick up a few B1 notes. Do you think it would be a good feature to provide a more fine grained filtering of notes? Something like this:

"grades": {
   "A": {
      "A1": true,
      "A2": true,
      "A3": true,
      "A4": true,
      "A5": false,
   }
}
jgillick commented 10 years ago

This is why the lcinvestor now supports saved filters. It would be difficult to add all the filters that LendingClub supports and I am trying to keep much of the filtering out of the app (where bugs could cause investing errors). Can you create a filter on LC for the subgrades? If so, create a filter with all the things you want, save it and then select it by name in the lcinvestor prompts. I hope that helps.

ilyakatz commented 10 years ago

No, there is no filter for subgrades, which I think is something that would be good (I suspect, it is not in LC's interests to add such granularity). My suggestion was to add to LC but I understand if you don't want to add more complexity. So feel free to close if you don't think it's something you want to add at this point

jgillick commented 10 years ago

Currently the program makes a request for investment portfolios matching the LC-supported filters and then submits an order for it. To do post filtering, it would need to make that request, then cancel the order, get a list of all loan notes in the portfolio and then filter out the ones that don't match. At this point I see it as adding potential for more to go wrong or the portfolios to be accidentally weighted incorrectly. Hopefully LC will add support for subgrade filtering in the near future.

Thank you for the suggestion, though.