Hi there,

I am using matplotlib for the first time to chart stock prices.

I have a list of trades I have made on a particular stock, and I would
like to be able to superimpose on the chart the particular "buy" or
"sell" days I have made historically.

I had a look at the "plt.text()" function, but not sure about the x,y
portion, since the two items I am interested in are the date (x-axis)
and price (y-axis) for that trade to put a "buy" or "sell" label on.

The buy/sell data I have in a MySQL DB, but easily pulled into a list or
array if matplotlib lends itself to either format.

Any tips or help appreciated.


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to