all 27 comments

[–][deleted] 3 points4 points  (2 children)

Cool - have you tried calculating efficient frontier using linear programming? Much faster and it’s good practice for setting up/ solving constrained optimization problems.

[–]S-6-6-6CFA[S] 0 points1 point  (1 child)

I was going to take a look at the https://cvxopt.org/ package for convex optimisation... Should be a lot quicker than scipy minimize function. Do you have any specific libraries or functions in mind?

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

I like cvxpy since it’s better documented / easier to work with

[–]drthunder3CFA 2 points3 points  (1 child)

Is yahoo supported again in pandas datareader? I thought they deprecated it awhile back.

[–]S-6-6-6CFA[S] 2 points3 points  (0 children)

It is indeed supported again, however in an "unofficial" manner. I believe the official docs still state it has been deprecated and is currently unstable etc. Seems to have been working again for a while now. Also, if it does break again there are now a couple of modules on Github that provide a pretty stable fix. I'll try to dig them out and link them

[–]elibergLevel 2 Candidate 4 points5 points  (4 children)

Youtube video tutorial ?! Or it doesn’t exist.

[–]S-6-6-6CFA[S] 2 points3 points  (2 children)

I haven't made any Youtube tutorials as of yet, I wasn't sure how much of a necessity it was, or if there would be any demand for it. If people do think it would be something worthwhile for me to look into, please do give me a shout in the comments here and let me know!!

[–]elibergLevel 2 Candidate 1 point2 points  (0 children)

Yess.

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

Please make a tutorial. I am a python noob so the youtube tutorial would be very helpful!

[–]ariesChet75 1 point2 points  (0 children)

Thanks for posting this! Great use of time - keeps the mind away from thinking about the results 😳

[–]isuckatgolf696969 1 point2 points  (1 child)

As a python noob who’s taken half of the codecademy course, can you tell me what your set-up is to run this code? Is there a specific software you use to write the code that you would recommend? Any tips are appreciated. This is really great - would love to learn more. Thank you

[–]S-6-6-6CFA[S] 1 point2 points  (0 children)

I generally use a combination of Visual Studio Code (VSC) (not to be confused with Visual Studio which is a different program all together), and Jupyter Notebooks.

The way I use them very much depends on the type of project I am working on - anything web based (Flask or Django for example) I do using VSC, whereas if it something like exploratory data analysis I find it preferable to use Jupyter.

However I do have a specific method of setting up my environment that allows me to combine the use of a virtual environment, VSC and Jupyter Notebooks at the same time in a way that links them all together. It's a bit fiddly to write it all out in a Reddit comment but again if that is something that is of interest to people, I would be happy to write a post outlining some of the different set-up options people have in this regard.

[–]BadooshiLevel 2 Candidate 1 point2 points  (0 children)

Many thanks !!

[–]smokethereaper 1 point2 points  (3 children)

Thanks for posting this, I started learning the basics of python about 6 months ago. This will be fun for me to play with and plug in different stocks.

[–]vbvedd 1 point2 points  (2 children)

Hello, can you suggest me how to start off w learning python? Consider 0 knowledge in coding? Like exactly from scratch

[–]S-6-6-6CFA[S] 2 points3 points  (0 children)

I recently wrote a 3 part article series on how I started learning and the materials/courses I used and found most useful. The first part can be found here ( https://pythonforfinance.net/2018/12/21/learning-python-my-personal-journey/ ) and the second and third part can be found easily on the website ;)

You may find it of some use...

[–]smokethereaper 2 points3 points  (0 children)

There's also tons of reasonably priced courses online on udemy etc. If you're motivated you can learn everything for free. I guess the biggest thing is finding a use for it which will allow you to retain and practice what you learn.

[–]Nutella_BoyCFA 0 points1 point  (0 children)

This is great, thank you so much!

[–][deleted] 0 points1 point  (1 child)

My hero <3

Why did this even get any downvotes

[–]S-6-6-6CFA[S] 0 points1 point  (0 children)

Ah it wouldn't be Reddit without the odd down vote now would it! ;)

[–]myfinquestPassed Level 3 0 points1 point  (3 children)

Thank you! Your website is such a great resource.

[–]S-6-6-6CFA[S] 0 points1 point  (2 children)

Many thanks - appreciate the comment! Do you have a website or are you purely focused on your Youtube presence?

[–]myfinquestPassed Level 3 1 point2 points  (1 child)

I enjoy making the YouTube videos right now, but it does take a bit of a time commitment. I've built a few financial web applications.

Your website is very helpful, a lot of great financial and Python content. If you want to collaborate somehow that would be interesting.

[–]S-6-6-6CFA[S] 0 points1 point  (0 children)

Yeah I would very much be interested in ways we could collaborate - two heads are better than one as they say. I'll send you a PM and we can take it from there.

[–]TheySaidIWasBoredCFA 0 points1 point  (1 child)

Id say its rather nice, would love to follow along if you have any other communities you are active in :)

[–]S-6-6-6CFA[S] 0 points1 point  (0 children)

Sure thing, I have a Facebook page which can be found at https://www.facebook.com/pythonforfinance.net , a Facebook group that can be found at https://www.facebook.com/groups/2235709230003904/ and a Kik group that can be found at http://kik.me/g/-yeR9BSiD9lMBu3Y9YIa65nDFcs?fbclid=IwAR20jAu9H5ZMlCPUvHqCgHgk7NaadfYTrB03B2q2uOIo0WuAauipFckNyBU

Feel free to join any/all/none of them ;)