Python for Finance: Analyze Big Financial Data
Out[66]: 15.424277577732667 There is further potential to generalize the steps of the previous example. One op ...
Graphical User Interfaces For the majority of computer users, as compared to developers or data scient ...
Figure 13-4. Screenshot of traits GUI (empty) Figure 13-5. Screenshot of traits GUI (with data) In effect, thi ...
short_rate from the previous section: In [ 77 ]: sr.rate Out[77]: 0.05 In [ 78 ]: sr.time_list Out[78]: array([ 0. ...
Figure 13-6. Screenshot of traits GUI with updating (empty) Figure 13-7 illustrates what happens with thi ...
In [ 86 ]: sr.disc_list Out[86]: array([[ 1. , 0.97530991, 0.95122942, 0.92774 ...
NPV. Output The GUI presents the results of applying the logic to the input data. Figure 13-8. Screenshot o ...
Figure 13-9. Screenshot of traits GUI for Cash Flow Series (with input data) Figure 13-10. Screenshot of ...
Conclusions Object-oriented paradigms are an indispensible tool for modern application development. Python provides ...
Further Reading The following web resources are good starting points for Python classes and object orientation, ...
Chapter 14. Web Integration I have been quoted saying that, in the future, all companies will be Internet ...
The first section shows how to transfer files via FTP and how to access websites via HTTP. Web plotting Web ...
Web Basics This section gives a rather brief overview of selected Python libraries for working with web te ...
Finally, we should close the connection to the FTP server: In [ 12 ]: ftp.close() In the local directory there ar ...
In [ 25 ]: content = resp.read() content[: 100 ] # first 100 characters of the file Out[25]: ‘<!doctype html> ...
2014-02-21,37.90,37.96,37.22,37.29,12351900,37.29 2014-02-20,37.83,38.04,37.30,37.79,11155900,37.79 2014-02-19,38.06,38.33,37.68 ...
2014-06-27,41.61,42.29,41.51,42.25,74640000,41.99 2014-06-26,41.93,41.94,41.43,41.72,23604400,41.46 2014-06-25,41.70,42.05,41.46 ...
Web Plotting Chapter 5 introduces matplotlib, the most popular plotting library for Python. However, as powerful ...
while delivering high-performance interactivity over large data to thin clients. Three elements of this ...
Figure 14-2. Screenshot of HTML-based Bokeh plot Interactive Plots The next step is to add interactivity ...
«
14
15
16
17
18
19
20
21
22
23
»
Free download pdf