Practicing Python

Hi all,

I just wrapped up my Python coding class for the semester and felt pretty good about it. It was a level 100 course so pretty surface level stuff but I feel like I at least know how to correct basic mistakes and how the general format should look like. I was wondering if any of you had any recommendations on what I should do for practicing or getting better specifically for an internship on a trading desk. I'd like to stick to a pretty non-quant desk like HY Credit , but I know for a rotational program I'd get exposed to the whole spectrum. Physical Commodities is actually my dream but pretty unrealistic at this point. 

Thanks,

WMC

19 Comments
 

To sharpen your Python skills for a trading desk internship, here are some targeted recommendations based on the most helpful WSO content:

  1. Focus on Data Manipulation and Analysis:

    • Learn Pandas thoroughly. It's a must-have for data manipulation and analysis. Practice tasks like cleaning datasets, calculating statistics, and creating pivot tables.
    • Explore NumPy for numerical computations and Seaborn for data visualization.
  2. Work on Data Sourcing:

    • Practice writing connection strings and using libraries like pyodbc or cx_Oracle to connect to databases.
    • Learn how to pull and process data from APIs, especially market data APIs.
  3. Automate Tasks:

    • Learn to automate repetitive tasks, such as emailing reports or updating spreadsheets, using win32com and basic HTML for styling.
  4. Build Small Projects:

    • Create scripts to analyze historical trading data, calculate moving averages, or simulate basic trading strategies.
    • Write a script to track and log daily market data into a database for future analysis.
  5. Visualization Tools:

    • Familiarize yourself with Tableau or Power BI for creating dashboards that can present trading data effectively.
  6. Linux and Command Line:

    • Set up a Linux environment (e.g., Ubuntu) and practice using the command line. This will help you navigate and manage files efficiently, which is often required in trading environments.
  7. Practice Real-World Scenarios:

    • Try to replicate tasks like identifying trades of a particular security within a price range or filtering companies based on specific financial metrics. These exercises will help you understand how Python is applied in finance.
  8. Recommended Tutorials:

    • Start with 3-4 top-rated Python tutorials and stick with the one that resonates most with your learning style. Consistency is key.

By focusing on these areas, you'll not only improve your Python skills but also align them with the practical needs of a trading desk. Good luck!

Sources: 0 to pseudo quant real quick - analytical skills for juniors with finance background, Programming/Technical Skills for Finance: SQL and Python, Programming/Technical Skills for Finance: SQL and Python

I'm an AI bot trained on the most helpful WSO content across 17+ years.
 

Learn the packages. Pytorch, Numpy, Matplotlib are the big ones. Those allow you to do data work.

I'd also suggest just doing all your excel work in python too. If you can, just do something in excel, then try it out in python. Getting reps is everything in programming. 

 

just started a grad program in physical commodities. my educational background is in engineering and finance so i have a little exposure to python prior to starting. I would say the most important thing is being able to read code. realistically, you are going to be using AI or some assistive tool to code and whats crucial is that you can evaluate what it writes and prompt it correctly, making changes that lead you in the write direction. also knowing the extent of what you can do is really important I think. at the level you and I are at we have only touched 5% of pythons capabilities, so constantly learning, reading documentation or looking at examples on youtube is really useful. Both in terms of content and standard procedure with code which makes it readable.

As to what you will be coding, i expect data transformation and automation of manual processes at the beginning and then eventually time series models.

As to your career aspirations in physical commodities, i think a great starting point is in a more back office role, be it operations, analyst, risk. Its a typical starting point for commodity traders. its an excellent opportunity to learn about the processes behind a trade, learning about the market and feeling out whether you will like working within this industry. timeline to becoming a trader can vary depending on availability of trading seats (trader turnover) or the company expanding. 

best of luck

 

I come from an extreme non target with no alumni on the street. S&T is already a pipe dream for me and commodity trading has even less seats available. 
I'm about 230 applications in at this  point and haven't gotten a single interview or superday invite. I've recruited to every single financial path I think of: S&T, IB,PWM, AM, Private Banking, WM, Commerical Banking, Corp Dev, Corp Fin, Risk, Operations. You name it, I've applied and been rejected from it. 

I've hit up both ends of the spectrum in terms of size. From Regional MM's like Provident and PNC to BB's like Deutsche I've gotten the same result.

I've done networking and have literally been told "do not apply to our bank we do not hire from your kind of school" and people tell me they will not write a referral.

I have come to accept I am far below what the average candidate is nowadays. Im not sure why I even made the orginal post. 

Writing
 

Non target or target. It Doesn't matter as long as you get one internship in the commodity world you will get looks. This is coming from someone from a non target who's in the industry

 

Many thanks and don't want to hijack the post. But do you think ag commods trading is a lucrative career compared with other products? It seems that ag is less sexy and discussed here.

 
Most Helpful

On average, ags are less lucrative than energy/metals assuming you can land a seat there. Landing a seat is a huge assumption though. Someone doing well in a good seat in ags is going to be making more than an ops/analyst in energy, most likely. On top of that, often times you're not competing with the Jane Streets of the world for edge. That certainly helps. Another way to put it is that ags is a smaller pond but you have a better chance of being a big fish. Lifestyle is also different between the two. Successful guys on the ag side often work less than 40 hours/week. Vacations are frequent in winter when crops aren't growing many places.

If the only thing you care about is money, and you're incredibly confident in your ability to be a top dog, go for an energy role. If 1-2mm/year is enough for you and you also value other things in life outside of work, ags has enough upside. If you don't have what it takes to be a trader and you end up in a support role somewhere then energy/metals is also probably a better bet.

Another wrinkle is that ags is a lot easier to break into and if you're good then you can leverage that into energy adjacent role if that is really what you want. Ethanol and soybean oil are big inputs to finished crude products. 

I would attribute the lack of discussion on this board to the fact that ag roles often times are not in NYC and that is the main focus of this board.

All that said, I would go for an energy role if you can but going for ags as as second choice still offers a lot of upside.

 

First off, love the name. 

My first recommendation is building your skills in structuring Python programs and object-oriented programming (University of Helsinki’s Online, self-paced Programming courses are A1 at teaching this)

If you are already confident in this area, I’d further recommend using datasets from a provider such as Kaggle and trying to answer a question that YOU want answered. Learning through experimentation has been the most useful for me.


Feel free to DM

 

Vel voluptatibus voluptatibus modi vitae laudantium. Cum a reiciendis qui. Aut illo est delectus est cupiditate deserunt. Consequatur occaecati est debitis explicabo asperiores esse repellendus.

Minima corporis qui praesentium iure amet voluptas. Architecto at doloribus et mollitia quaerat rerum velit. Ea et rerum modi debitis tempora. Dignissimos deserunt qui voluptatem maiores aliquid quisquam. Nam perferendis in deserunt tempore cum. Est ipsum ratione cumque asperiores facilis est assumenda quia.

Career Advancement Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • JPMorgan 01 98.3%
  • Guggenheim Partners 01 97.7%
  • Morgan Stanley 07 97.1%

Overall Employee Satisfaction

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Morgan Stanley 02 98.8%
  • Evercore 01 98.2%
  • BMO Capital Markets 12 97.7%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • Morgan Stanley 05 98.3%
  • JPMorgan No 97.7%
  • BMO Capital Markets 12 97.1%

Total Avg Compensation

June 2026 Investment Banking

  • Vice President (14) $434
  • Associates (44) $258
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (78) $151
  • Intern/Summer Analyst (72) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
Secyh62's picture
Secyh62
99.0
3
BankonBanking's picture
BankonBanking
99.0
4
kanon's picture
kanon
99.0
5
Betsy Massar's picture
Betsy Massar
98.9
6
DrApeman's picture
DrApeman
98.9
7
dosk17's picture
dosk17
98.9
8
CompBanker's picture
CompBanker
98.9
9
GameTheory's picture
GameTheory
98.9
10
Mimbs's picture
Mimbs
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”