Musings of a Philadelphia Physician who has served the community for six decades

Return to Home

Related Topics

Using XML to Retrieve Financial Data
It's often desirable to get live financial data and everyone knows. XML is the thing to use but actually writing programs that work takes a bit of trouble. Plus, once you've got the data you need to display it.

Graph Real Time Option Prices

When buying or selling options it is helpful to be able to see the information graphically rather than just looking at the tabular option chain tables. (I sell puts instead of placing buy limit orders; and I sell covered calls when I want to sell a position that may continue to appreciate.)

The feature below allows you to see how all the puts and calls are priced for a particular stock; in a glance it is often possible to see if the strategy you have in mind would be worth the trouble.

The data is from Yahoo Finance and the process of repetitively querying their XML streams takes a while, so be patient.

To see the messy, ugly code, click here


Please Let Us Know What You Think

(HTML tags provide better formatting)

Because of robot spam we ask you to confirm your comment: we will send you an email containing a link to click. We apologize for this inconvenience but this ensures the quality of the comments. (Your email will not be displayed.)
Thank you.