Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Ultimate Guide to Install Python Environment in Visual Studio Code Editor

55 sec read

Visual Studio Code Editor is a full-featured Integrated Development Environment for developers/quants and it comes with an integrated code editor, debugger, extensions, and a variety of other tools to help developers write, debug, and test their code.

Visual Studio Code Editor comes with an intuitive and user-friendly interface. VS Code supports syntax highlighting, autocompletion, and code snippets for Python, which can help quants write code more efficiently and accurately.

To set up VS Code Editor for a Python environment, you’ll need to follow these steps:

Install Python: If you haven’t already, you’ll need to install Python on your computer. You can download Python from the official website (https://www.python.org/downloads/). While Installing ensure that you enable the PYTHONPATH environmental variable

Install VS Code: You’ll need to download and install Visual Studio Code from the official website (https://code.visualstudio.com/).

Install the Python Extensions

Install Python, Pylance & Jupiter extensions from the extensions section on the left tab

Selecting the Python Interpreter

To Select the Python interpreter: Press Ctrl+Shift+P (Windows) or Cmd+Shift+P (Mac) to open the VS Code command palette. Then, type “Python: Select Interpreter” command and select the appropriate interpreter from the list.

Now goto Terminal ->New Terminal this will open the command terminal inside VS code editor and install the python libraries numpy,pandas etc as shown below

Now VS Code is all set to kick start your quant trading journey. More interesting tutorials lined up on python. Stay tuned. Do comment if any exclusive python tutorials needs to be covered.

Rajandran R Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, USDINR and High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Strongly believe that market understanding and robust trading frameworks are the key to the trading success. Writing about Markets, Trading System Design, Market Sentiment, Trading Softwares & Trading Nuances since 2007 onwards. Author of Marketcalls.in and Co-Creator of Algomojo (Algorithmic Trading Platform for DIY Traders)

Nifty Daily Returns – Distribution Statistics – Python Code

The Nifty index is one of the most popular stock market indices in India among traders and investors, and it tracks the performance of...
Rajandran R
3 min read

Supertrend Algomojo Trading Strategy using Algomojo and yfinance

Supertrend is a simple ATR-based trend-following strategy that identifies the current trend and mages the risk dynamically with ATR-based trailing stoploss. In this blog,...
Rajandran R
6 min read

Build a Correlation Matrix using Python Pandas and Seaborn

In finance, a correlation matrix is a matrix that shows the correlation between different variables. It is a powerful tool for analyzing the relationships...
Rajandran R
2 min read

Leave a Reply

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More