Retreiving current market price

25 pts.
Tags:
CL
RPG
We need to invoice our customers the cost of platinum used in some process, based on its usage in grams. I need to retreive the current market price of platinum from internet and use it in RPG program to do the calculations. How can we retreive the current market price of Platinum in a RPG/CL program?
ASKED: August 28, 2008  6:33 PM
UPDATED: August 30, 2008  2:37 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Try this link…

<a href=”http://www.mcpressonline.com/tips-techniques/web-languages/techtip-talk-to-the-internet-with-curl.html”>cURL</a>

Hi from PGMBOB,
As the URL indicates, you could fire up a job that get the price from the web, scan the resulting file and get the price.
.
You might want to capture the price into your database with a timestamp key.
You might need prices in several currencies, or several suppliers.
Do you have several suppliers where you can shop the best price?
Is there a FIFO / LIFO price requirement for your cost?
You might be able to get a price / cost feed FTP or download from your supplier.
Good Luck

.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following