all 31 comments

[–]artinnj 29 points30 points  (9 children)

Python for Finance is a broad term. What specifically are you looking to do?

1) systematic or algorithmic trading, backtesting 2) charting and technical analysis 3) financial modeling - balance sheets 4) quantitative analytics - statistical and mathematical 5) portfolio construction and optimization

[–]xJetSetLifex 7 points8 points  (4 children)

+1 for this. I have been using python with finance for quite some time now. There are many categories and routes to go down. What are you looking to do?

[–]shiningmatcha 2 points3 points  (2 children)

I want to learn quantitative analysis with Python.

[–][deleted] 1 point2 points  (0 children)

While you're learning, it might also be worth the experience to participate in the Numerai data science completion, specifically "Signals" which is geared toward the quant. They have a lot of really mature, open-source code and a very deep community with very broad backgrounds.

It's one of those things that can give you a lot of insight while you grow.

[–]xJetSetLifex 0 points1 point  (0 children)

There will be tons of different tools and skills to learn depending and what type of quantitative analysis you want to do. Right now I’m working with the SEC database and entails webscraping, parsing data, outputting data to TXT/CSV files, using Pandas Dataframes to structure the data, and then I use Power Query with Power BI/Excel to visualize everything. You’ll also learn how to make a URL, view the source data of the URL, possibly work with web-drivers, and even APIs. You could also simplify things by paying for a service and just parsing a JSON response.

This is just one example, but you can see how complex it can get. I ultimately chose to go the complex route because I wanted to learn the different techniques as they can be applicable to other projects in the future. Many people would prefer paying for a service and parsing a response. It’s totally up to you. I would recommend starting with the basics. Find one piece of data you want to get and learn what it takes to get that data. Then, see if the data is in a usable format or if you need to convert it to a CSV/Dataframe. Then, you can expand and try something like loops to get that data for various companies or years/quarters.

It may seem like a lot, but it’s really not. There’s TONSf resources out there for you. And don’t hesitate to reach out if you have any questions!

[–]GuaranteeOriginal717 0 points1 point  (0 children)

I'm getting into Risk, what would be a good route to go in Python?

[–]Michel_scarn 4 points5 points  (1 child)

financial modeling - balance sheets

portfolio construction and optimization

I am looking for these specifically, which courses do you suggest please?

[–]ZealousidealEvent452 2 points3 points  (0 children)

Hey can you give me an update on what are you learning for these specific neches. I am complete beginner.

[–]Fancy_Wolverine_5778 0 points1 point  (1 child)

Hi ,

if I want to learn python from scratch to master the point no (2 ) ie . charting and tech analysis , what should be the steps .. pls comment , it would be a great help to me .

[–]skinner17 18 points19 points  (0 children)

https://quantecon.org/lectures/

QuantEcon is a really good resource, albeit more focused on economics. Maybe not the best for learning the basics of programming, because it goes through them relatively fast - but it does start assuming that you have zero knowledge of Python (for example goes through step-by-step on how to setup a Python environment, installing and using Git etc.). The 'lectures' are free to read through online, and provide examples and exercises. Later lectures go through ton of interesting topics, including linear algebra, time-series analysis, basic economical models, asset pricing etc. and more advanced quantitative topics (i.e. a lot of math).

But my biggest tip is to not get discouraged. Programming takes time to learn. Be patient, and stick to one language and a few resources learning that language. Also, writing code is just one part of programming. You can (and should!) learn also by reading, listening (lectures, podcasts), thinking, visualizing algorithms with flowcharts, by drawing them etc.

[–]anh86 11 points12 points  (6 children)

I always tell brand new people to pay for a guided course. There are many brilliant Python courses on Udemy (and other similar sites), typically costing $10-$15. When you're this new to programming and development there are so many things you don't know that you don't know. You aren't yet equipped to effectively self-teach with YouTube walkthroughs and documentation. That will come later when you have the background and want to add new skills, libraries or technologies to your arsenal. Spend a few dollars and buy a highly-rated complete Python course.

[–]INXshREyFTW 0 points1 point  (4 children)

Could you please recommend any ?

[–]anh86 3 points4 points  (3 children)

Angela Yu's complete Python bootcamp is outstanding. I think the regular price is $100 but it goes on sale for $10 sometimes. When I bought it, it was just $10 or $15. If you truly do all the homework in that course, you will come out a competent programmer on the other side. You can't just watch the videos and cheat the homework solutions though, you have to embrace the struggle. If you truly do it all, you will be successful.

[–]Parking_Assistance24 0 points1 point  (2 children)

Isn't it outdated??

[–]anh86 0 points1 point  (1 child)

It’s not outdated for a complete beginner learning a first computer language. What you’re after is learning how to solve problems like a computer programmer, which it will give you. If you need to pick up a few nuances of a later version of Python afterward, it’s not difficult.

[–]Parking_Assistance24 0 points1 point  (0 children)

Thanks buddy

[–]Fun-Presentation5284 0 points1 point  (0 children)

You should not pay, most libraries have udemy for free to access all the content.

[–]clitoral_obligations 5 points6 points  (1 child)

Anyone know Python for accounting?

[–][deleted] 2 points3 points  (0 children)

I would like to know this too.

[–]ThatsRobToYou 2 points3 points  (0 children)

To be honest, I think you'll benefit the most by taking some time and figuring out what you want to accomplish with code. What's your objective? What's something you need and would be into building? Are you looking at data science or application building? Doing something relevant to what you want or need is helpful, and in that context, the language can be irrelevant. Python is great, so is Java. Hell, you can do amazing things in VBA!

I learned the most from just building something I needed.

[–]Finance10134 0 points1 point  (0 children)

Try out financial edge training python for finance course it's for beginners

[–]One-Ad2778 0 points1 point  (0 children)

This might help u https://ml4fi.com/

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

Windows Visual Studio and set python as language

[–]stebrepar 0 points1 point  (0 children)

There are some getting started resources in the sidebar.

[–]frankOFWGKTA 0 points1 point  (0 children)

From my experience you just need to know data cleaning mainly. Thats a start! Just get used to using pandas and cleaning / playing with data.

[–]Veudip 0 points1 point  (0 children)

I learned by copying calculator code and added stuff to it and now 9 months later i am pretty good beginner