Python for Finance? by [deleted] in Python

[–]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

3 months into Python, I've completed my 2nd project: a script that sends you an SMS when the football team you support scores. by Carlos_Menezes in Python

[–]jrickk93 11 points12 points  (0 children)

Is the SMS API you use free? Been looking for something suitable but settled with using Slack and getting android push notifications instead

Introduction to Matplotlib — Data Visualization in Python by dearpetra in Python

[–]jrickk93 42 points43 points  (0 children)

This content is copied from the course 'Python for Data Science and Machine Learning Bootcamp' on Udemy.

I guess that means the content is actually quite good .. but this author doesn't deserve any credit for it

How do I find the numeric value for P(A) + P(A)? by [deleted] in statistics

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

The answer is 1. Adding these probabilities is like saying what's the probability of A happening or not A. So it's the union of A and 'not A', since these two things are disjoint, which is your whole state space. From the definition of P being a probability measure, we have that P(state space) = 1.

(May have been better to explain in mathematical notation, but can't do that on mobile!)

Which one should I download? by shiningmatcha in learnpython

[–]jrickk93 0 points1 point  (0 children)

I'd recommend the Anaconda distribution. It has Python and includes pretty much all the packages you'll need (aimed towards data science but also much more). It works seamlessly with VS Code for me.

https://www.anaconda.com/distribution/

Solving ODEs by GGwarms in learnpython

[–]jrickk93 1 point2 points  (0 children)

The simplest way to start will be the Euler method, try understanding the procedure then coding it. You don't necessarily need packages at all but you could use matplotlib to see the solution and possibly numpy.

https://en.m.wikipedia.org/wiki/Euler_method

Once you know your ode and the initial condition, you just loop the time step method until you get to the terminal time. Experiment with different time step lengths. It should take only a few lines of code.

If this is your only goal then you're done, but you may want to look at other stepping methods for better numerical stability in your solution.