We have all heard about Python. It is a programming language used in algorithmic trading. Let me introduce you to Jupyter. Refer – https://jupyter.org
Previously it was known as iPython where You can write step by step code and it was executed in step by step method giving you a broad perspective on what to change or modify and more importantly, where is the mistake.
Later it spun off as Project Jupyter which now supports execution environments for few dozen languages.
Step 1: Installing Python
Head here – python.org
Then browse around to download the latest version of Python. Note although my image currently shows How I got it, Some of you will be reading this after a couple of years too. Just browse around, Download, Install it.
Also, You can take the help of Google if You’re slight more novice, Just Youtube install python windows
While installing, You must make sure that Python is added to the Environment Path. For that, You need to click “tick” in the first dialog. (It is not ticked by default.) If you have already installed it, don’t worry, just reinstall it and this time make sure its “ticked”.
Step 2: Installing PIP
Now, PIP allows you to install pre-written, well packaged codes written by other users. Like Krishna Velu wrote the code for Aliceblue’s API Wrapper which you can see here – https://github.com/krishnavelu/alice_blue
So, PIP is a package management system.
Now using the command prompt of windows,
- Goto the place where it is downloaded and extracted. Type
- If PIP was installed, the headache is less. You need to open the command prompt and type
pip install alice_blueto install it.
- To uninstall it type
pip uninstall alice_blue
Now, How to install PIP in Windows? Follow this article – https://phoenixnap.com/kb/install-pip-windows
Official Instruction – https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip (It is written in more “lawyerish” language)
Step 3: Installing Jupyter
Now that you have Python and PIP installed, All you need to do is open command prompt.
pip install notebook
You have installed Jupyter Notebook! To run the notebook, run the following command at command prompt.
It will open your browser and show you something like this –
pip install nsepythonfrom CMD, You can do that directly from here.
pip install nsepython and then click on the Run button as marked here.
As it was already installed in my system, it is writing “Already exists” in the output.
Now head here – https://forum.unofficed.com/t/nsepython-documentation/376
I have practiced the first command.
from nsepython import *
And I clicked on Run.
Note 1: Make sure you have latest version of nsepython if not then
- Open CMD, Type pip uninstall nsepython . It will ask for confirmation once, Press Y. It will uninstall the current package.
- Then type pip install nsepython. It will install the latest package which I just patched.
Note 2: The
DEBUG is harmless. It basically shows what is being fetched. You can remove it by doing –
logger = logging.getLogger()