I am working on a site that will allow a user to submit content and tag it with a company name or ticker symbol. I then will have a filter/search function that will allow the content to be sorted. Upon submission, the user will enter a ticker symbol or company name. That content then needs to be tagged with BOTH the ticker symbol and the company name so that whether another user searches by ticker or company name the same results are shown.

Can Stock help me? I am still in the research and planning stages of this project but would appreciate any insight. Thank you!

Comments

kbahey’s picture

Status: Active » Closed (fixed)

Your question depends on too many specifics.

But from an broad overview point of view ....

If you can make the Stock ticker a field in the content type, then you can use some PHP code to extract that ticker, call the stock function to retrieve the quote and display the info in a block or inline.

interestingaftermath’s picture

I imagine this would depend more on the Stock API than the Stock + Stock API modules?

interestingaftermath’s picture

Status: Closed (fixed) » Active
interestingaftermath’s picture

Here's an example of what I am talking about: http://stocktwits.com/t/AAPL

Note how you can search by AAPL or Apple and it returns the same results as well as the Company name each time?