Graphing Data, Python ., Python Programming

#que
Write a program that will take price data for stocks and print it graphically to the screen. Your program should begin by asking the user for the file name. It should then create a graphics window and plot the date versus price. You may assume that the file has the following format:

"date","close","volume","open","high","low"
"16:00","720.11","1,919,799","720.71","723","716.68"
"2012/12/19","720.1100","1918493.0000","720.7100","723.0000","716.6800"
"2012/12/18","721.0700","3004838.0000","716.6000","729.1000","715.0500"
"2012/12/17","720.7800","3034558.0000","705.5000","738.2800","704.0200"
"2012/12/14","701.9632","2129893.0000","699.1700","707.8200","698.4300"
"2012/12/13","702.7000","3443866.0000","715.9200","716.4750","699.5500"
"2012/12/12","697.5600","2425774.0000","699.2300","703.5100","693.4800"


where the first line describes the columns and each subsequent line of the file describes the stock price on a given day, separated by commas. Note that the historical data (from Nasdaq) lists the information in reverse chronological order, while graphs of financial data always start with the oldest date first. Your graph should have the oldest date on the left, progressing to the newest date on the right.
Posted Date: 3/27/2013 10:42:32 PM | Location : United States







Related Discussions:- Graphing Data, Python ., Assignment Help, Ask Question on Graphing Data, Python ., Get Answer, Expert's Help, Graphing Data, Python . Discussions

Write discussion on Graphing Data, Python .
Your posts are moderated
Related Questions
There are three seating categories at a stadium. For a softball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many

Your assignment for the semester will involve the development of a system for drawing trees using the Python programming language and the turtle graphics module (turtle.py). Comple

Procedures in Firrst-class objects In Python, unlike  many  other  languages, methods are behave in much  the same way as num­ bers:  they  can be stored as values  of variabl

Write a program that will take price data for stocks and print it graphically to the screen. Your program should begin by asking the user for the file name. It should then create a

Suppose the cover price of a book is $24.95, but bookstores get a 40% discount. Shipping costs $3 for the first copy and 75 cents for each additional copy. What is the tota

from urllib2 import urlopen var= ('' response">http://placekitten.com'') response = kittens.read(body) body = response[559:1000] print ''Kittens:'', response

1)    Write a python programmecomparing for and while loops like the following. Math Times table For Loop: 2x1=2 2x2=4 ..... 2x12=24 While Loop: 3x1=3 3x

Data array A has data series from 1,000,000 to 1 with step size 1, which is in perfect decreasing order. Data array B has data series from 1 to 1,000,000, which is in random order.

#que Write a program that will take price data for stocks and print it graphically to the screen. Your program should begin by asking the user for the file name. It should then cre

We encourage you to adopt an interactive style of debugging and programming. Use the Python shell a lot. Write short pieces of code and check them.  It is much  simpler to test the