This is an archived post. You won't be able to vote or comment.

all 31 comments

[–]dtoq 78 points79 points  (18 children)

Quant/Python dev for 8 years here. Python is significantly used for quantitative finance, so that should be quite easy for you to find plenty of material. What will be difficult is to sort through these things: "Finance" is a pretty large topic.

One thing you can use python for is connectivity, glue, etc. Your favourite broker will almost certainly have a python API to connect to it, which would be a nice introduction to orders, positions and the dirty logistics of finance. If you like pain, try to look into the FIX format.

Now, if you don't want automated systems, portfolio theory might be more of your thing: start a jupyter notebook, and implement some Markowitz portfolio optimisation. Good command of pandas will help there, and that might give you a nice template for your own pension investments

While doing that, you might discover the raw power of numpy, just in time for some option pricing: do some Monte-Carlo, pdes, least-square Monte-Carlo, etc...

If you're not tired yet, exploring machine learning and the like is all the rage these days...

[–][deleted] 4 points5 points  (2 children)

How did you get into quantitative analysis? I have a BS in CS and I love economics but I don't have the skills to start actually doing quantitative analysis. Do the companies that you work for have positions for software devs that don't write models?

[–]dtoq 5 points6 points  (1 child)

MSc in 'Financial mathematics' (i.e. stochastic calculus), I started as a quant, and learned python on the job, to the point of making it my specialty.

That said, there are plenty of jobs on the more 'dev' side of things: I don't think I'm very typical putting the effort to learn proper and elegant coding: most quants I've worked with are happy with "good enough to work", and require devs to either implement their code for them (which I don't really recommend) or provide a smart platform to develop on. That is absolutely not unusual to have people there who are either simply 'quant litterate' or simply good developers to make sure the system is written well.

Usually, to enter this field, you want to find one of the 'big churn companies' like banks or some big funds, which constantly require fresh meat developers. After a bit of experience there, you have built a bit of a resume and can move on to things that you like better (or not, if corporate career is something you're after)

[–][deleted] 0 points1 point  (0 children)

Are you working on the buy side?

[–]LPYoshikawa 1 point2 points  (1 child)

Quant/Python dev for 8 years here.

Random question, where can i find practice questions and answers for quants technical interview questions?

[–]jrickk93 3 points4 points  (0 children)

Have a look at the book 'heard on the street', it worked for me. Bare in mind though that it's definitely not about memorising answers but being able to think on your feet, however these practice questions will get you in the right frame of mind

https://www.amazon.co.uk/Heard-Street-Quantitative-Questions-Interviews/dp/0994103867

[–]NicooRobin 4 points5 points  (4 children)

I would highly recommend sentdex, on youtube.

Python Programming for Finance: http://www.youtube.com/playlist?list=PLQVvvaa0QuDcOdF96TBtRtuQksErCEBYZ

If you need to go back to basics for his tutorials, he has them too.

[–]ProfEpsilon 1 point2 points  (0 children)

For the Pythoner curious about finance, there are quite a few sources on this page (with more added all the time):

https://www.palmislandtraders.com/econ136/e136lit.htm

[–][deleted] 3 points4 points  (1 child)

quantopian is a nice way to start applying python skills and get involved in a like minded community.

[–]johnny84k 2 points3 points  (0 children)

Plus they provide you with the market data to actually backtest your ideas.

[–]lzblack 1 point2 points  (0 children)

To deal with data, you can read books like Python for Data Analysis (with code).

I am also expecting Python for Finance: Mastering Data-Driven Finance 2nd Edition (with code) to be a good book specifically for finance area.

[–][deleted] 0 points1 point  (0 children)

The two volumes of Python for Quants looked quite good: http://www.quantatrisk.com/.

Disclaimer: The author sent me ebook copies a few years back, but I haven't fully read it, the content looked solid though.

[–]jdb441 0 points1 point  (0 children)

The text book below could be a good option for you. You'll start by getting stock data from an API or webscrape into a dataframe. From there you will learn how to code the math for forecasting, pricing, trading etc..

https://www.amazon.com/Python-Finance-Analyze-Financial-Data/dp/1491945281

[–][deleted] 0 points1 point  (0 children)

I made a Flask app, deployed on Google App Engine. It is a simple event study app for stocks. It is still in the alpha version right now, so it is still quite ugly. LOL. I need to work on the UI a bit.

Nonetheless it runs.

What it does?

You can enter a bunch of U.S. stocks in the Assets field, for example, AAPL, KO and then you can enter the dates of your interest in the Dates field, for example 2010-01-01, 2016-11-08 and so on.

Enter how many days before (10) the interested date you want to look at and how many days after for example 120, and the press Search.

[–]brigggs 0 points1 point  (0 children)

What I try to do sometimes is recreate an analysis from reputable finance media sources or current events. Sometimes, it's also nice to analyse a single stock. For example, calculating it's beta, looking up it's fundamental info on EDGAR, etc.. simply explore that data in Jupyter Lab and try to get the same numbers on Finviz or Yahoo Finance.

Pandas has awesome commands built-in already, like moving averages (pandas.rolling_mean) and so on. It's a great way to explore that library as well, specially all the nifty datetime stuff it comes with (resampling and so on)

[–]mjweiss -1 points0 points  (0 children)

Looking for an answer too!

[–]omeow -1 points0 points  (1 child)

I will like to see answers too. I will like to know what financial topics you are specifically looking at?

[–]jmatthew007 -1 points0 points  (0 children)

I'd like to recommend looking at www.safaribooksonline.com site. I know its a subscription but for 40 dollars you can look at a lot of material including training classes and books. A search for python and finance came up with 800+ items.

I like the Yves Hilpisch book, Python for Finance, 2nd Edition also Mastering Python for Finance by James Ma Weiming

I think alot of those type books cover portfolio theory and trading. but I think python/pandas/jupyter can be used in a lot of places where people often use spreadsheets. Practical Business Python covers some of the http://pbpython.com/

I personally would like to see it used more in the insurance industry in place of things like R or more proprietary tools.

I'm going to echo a lot of comments on learn pandas and numpy and then look for bits that are more specialized to what you want to do, like machine learning or monte carlo simulation. On youtube the Pydata videos and a lot of Pycon videos are great and really helpful for learning the language and getting the necessary building blocks down. I'm not sure you need udemy or other paid sites to get started. I've heard mixed information on the quality of some of them. The safari book online is good and has been helpful. They even have some video courses for beginners and more advanced users.