Importing Variable Data From an App

theDugan8r

New member
I'm working on a macro that is supposed to return an "Expected Yield" for a given stock. (Just a weighted average of the stock's 1yr and 5yr return.)
I've already got the math worked out, and have a string variable for tracking the stock name [v=Ticker].
Is there a way I can import the data I need from my Robinhood App to the 1yr and 5yr variables so I don't have to enter it manually every time?

I'm fairly familiar with most aspects of MacroDroid but other than "magic text" I've never attempted to get data from an outside source before, so I'm a bit lost.

Thanks in advance for the help.
 

theDugan8r

New member
Can the app generate a notification containing the data in question?
Oh and I have extracted data from notifications in the past, unfortunately it is not that simple in this case. On the flipside I am pretty clueless about app intents and http:get so I'm hoping the solution lies in one of those functions...
 

FrameXX

Well-known member
The main questionn being there is where you get the data about the stock. If robinhood doesn't show them in notification or doesn't share them with 3rd party apps in other way (which I highly doubt) MacroDroid will need to get the stock data by itself.

Try to look at this macro from Vinod Acharya. It extracts the current stock price of given company. Could you use of that?

 

theDugan8r

New member
The main questionn being there is where you get the data about the stock. If robinhood doesn't show them in notification or doesn't share them with 3rd party apps in other way (which I highly doubt) MacroDroid will need to get the stock data by itself.

Try to look at this macro from Vinod Acharya. It extracts the current stock price of given company. Could you use of that?

Sounds like it could be useful, unfortunately when I try the link you posted I get the Dreaded "Error 404" Page not found 😟
 

theDugan8r

New member
Search for 'id=9380' in MacroDroid template store.
Found it.
Looks like he used http get as expected...
Then does a whole bunch of text modification actions I'm not going to even pretend I understand, but at least it's a place to start.
Thank you.
 
Top