Integrate stock price updates with transaction downloads

R. Schmid's Avatar

R. Schmid

06 Feb, 2020 04:59 AM

I was looking at the stock updater extension because I'm getting inconsistent downloads. However, I had an idea to look for the API for my brokerage. In the case of TDAmeritrade it was readily available but it seems clear to me that MD must already have the infrastructure for oauth login, etc. The request for stock quotes at the same time would require a single call https://api.tdameritrade.com/v1/marketdata/quotes.

It seems likely that other institutions that have OFX connections have similar APIs where applicable. If these APIs could be leveraged it would distribute the load of quote requests away from the two central services in yahooqt which have had to make changes to prevent huge downloads.

https://developer.tdameritrade.com/quotes/apis/get/marketdata/quotes

  1. Support Staff 1 Posted by Sean Reilly on 04 Mar, 2020 11:45 AM

    Sean Reilly's Avatar

    OFX doesn't use OAUTH so we haven't yet added it to Moneydance, but this would be a fantastic thing to add. If you already know of a library to do this I'd love to incorporate it in Moneydance so that extensions and other connected services don't have to re-invent it.

    Thanks,
    Sean

    --
    Sean Reilly
    Developer, The Infinite Kind
    https://infinitekind.com

  2. 2 Posted by R. Schmid on 05 Mar, 2020 02:39 AM

    R. Schmid's Avatar

    I was mistaken about this. TDAmeritrade's trading API does not require OAUTH authentication for most read-only requests. However, it does require an API key.

  3. System closed this discussion on 04 Jun, 2020 02:40 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac