Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #76119

Re: Python in financial services

From Johann Hibschman <jhibschman@gmail.com>
Newsgroups comp.lang.python
Subject Re: Python in financial services
Date 2014-08-12 11:35 -0400
Organization A noiseless patient Spider
Message-ID <osxlhqtpvov.fsf@gmail.com> (permalink)
References <d61fbee7-4404-4924-8793-4e65c15e81be@googlegroups.com>

Show all headers | View raw


Rustom Mody <rustompmody@gmail.com> writes:

> Ive been asked to formulate a python course for financial services
> folk.
>
> If I actually knew about the subject, I'd have fatter pockets!
> Anyway heres some thoughts. What I am missing out?

Good luck!  It's a pretty broad field, so everyone probably has
different needs.

> - Libraries -- Decimal?

I've never seen decimal used, even though it makes sense for
accounting-style finance.  I've mostly been looking at forecasts,
trading, and risk, where floats are fine.  So maybe mention that it
exists, so people know where to look if they need it, but don't stress
it.

> - scripts -- philosophy and infrastructure eg argparse, os.path

Basic argparse is very handy, but, again, I wouldn't spend too much time
on it.

> - Pandas
> - Numpy Scipy (which? how much?)

For me, pandas is huge, numpy is a nice fundamental substrate, while
only bits and pieces of scipy are used (mostly optimization).
statsmodels may also be worth a mention, as the answer to "how do I do a
regression".

> - ipython + matplotlib + ??

Ipython notebook + matplotlib is great.  At least show that it exists.
pandas plots may be enough, though.

> - Database interfacing

Definitely mention.

> - Excel interfacing (couple of libraries.. which?)

Meh, maybe.  At least give a strategy.  It always seems like a fool's
errand, though: I end up just dumping data to CSV and using that.

> - C(C++?) interfacing paradigms -- ranging from ctypes, cython to
>   classic lo-level

Probably not, but it depends on the audience.  The overview, like
"ctypes will link to C-like libraries, cython lets you write python-like
code that runs fast, and there's SWIG and Boost.Python if you want to
write your own modules" is about all you need.

Hope that helps,
Johann

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python in financial services Rustom Mody <rustompmody@gmail.com> - 2014-08-12 00:33 -0700
  Re: Python in financial services Johann Hibschman <jhibschman@gmail.com> - 2014-08-12 11:35 -0400
    Re: Python in financial services Rustom Mody <rustompmody@gmail.com> - 2014-08-12 10:44 -0700
  Re: Python in financial services Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-12 15:50 +0000
    Re: Python in financial services Rustom Mody <rustompmody@gmail.com> - 2014-08-12 10:48 -0700
      Re: Python in financial services Denis McMahon <denismfmcmahon@gmail.com> - 2014-08-12 18:54 +0000
        Re: Python in financial services Rustom Mody <rustompmody@gmail.com> - 2014-08-12 12:05 -0700
  Re: Python in financial services Larry Martell <larry.martell@gmail.com> - 2014-08-12 17:07 -0400
  Re: Python in financial services wxjmfauth@gmail.com - 2014-08-12 23:43 -0700
    Re: Python in financial services Laurent Pointal <laurent.pointal@laposte.net> - 2014-08-19 18:35 +0200
      Re: Python in financial services Terry Reedy <tjreedy@udel.edu> - 2014-08-19 17:59 -0400
      Re: Python in financial services Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-08-20 00:00 +0100

csiph-web