Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4922 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Anyone using the StockQuotePrice function? Works great, and hasn't had a hiccup for many months (year?) but recently started returning the same price. June 2, 3, and now 6 show the same results -- basing this on a mostly automated system that pulls values in each day.

User has been using my script (which uses this function) successfully for quite some time, so I do not think it is user error.

Anybody know the source of the values? Maybe the source is the problem and not the function itself.

Thanks.

Scott

Posted

You can see this in the script itself! You can see in the source for the module that it looks at finance.yahoo.com for this information.

  • Newbies
Posted

You can see this in the script itself! You can see in the source for the module that it looks at finance.yahoo.com for this information.

How do I view the source? Do I use a text editor to view the 360Works_ScriptMaster.fmplugin file?

Posted

It's in the right column of the module details when you click on the StockQuotePrice module in the scriptmaster.fp7 file.

Here's the code if you don't want to pull the file open:

String url = "http://download.finance.yahoo.com/d/quotes.csv?s=" + 

   symbol + 

   "&f=l1";

return new URL(url).getText().trim();

This topic is 4922 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.