This course is for anyone out there who is confused, frustrated, and just wants this python/finance thing to work!
Nano Course On Python For Trading
==========================
Module 1
Python makes it very easy to analyze and visualize time series data when you’re a beginner. It's easier when you don't have to install python on your PC (that's why it's a nano course, you'll learn python...
This course is for anyone out there who is confused, frustrated, and just wants this python/finance thing to work!
# Using Google Colab
# Importing libraries
# Making a Random Time Series of Black Field Research Stock (fictional)
Intro link is here on YT: https://t.co/MqMSDBaQri
Create a new Notebook at https://t.co/EZt0agsdlV and name it AnythingOfYourChoice.ipynb
You got your notebook ready and now the game is on!
You can add code in these cells and add as many cells as you want
Imports are pretty standard, with a few exceptions.
For the most part, you can import your libraries by running the import.
Type this in the first cell you see. You need not worry about what each of these does, we will understand it later.

Once you have imported the packages, run the code by clicking on the play button ▶️.
Let's add some more code and create a fictional stock price chart of a multinational investment management firm Black Field Research (aka @BlackFieldRes ) and use it for statistics and graphs.
Exact Code:

First, make the index of our data using "date_range." I picked today’s date, 2015/01/01, as the start date, used a daily frequency, and created 2500 rows.

1. Idea is to will the data frame with normal redistribute random numbers for our close price
2. Its mean is 0.002 and the standard deviation is 0.02. Total 2500 entries have been made.
3. Call above array as N, Replace N by..
4. Take the first row as 1, which is our stock price on day 1.
5. Finally, take the cumulative product of the columns.
It's fine if you didn't understand this. We will come on it in later posts. Let's see the output in the next post


Add this code and the output will look like :

# Visualing Logical conditions as signals
# Simulating a trading strategy and considering slippages
I got you started with python. Meanwhile, learn about python and the terms we have used here. You can comment below with doubts.
https://t.co/wuremRtH1S
You can make a copy of it and play around with it.
Until next time.
More from Python
==========================
Module 4
In this post, I will attempt to teach you how to write a trading strategy in Equity Segment that runs on your PC and create a Telegram bot that sends you buy/sell signals with Stop Loss.
Nano Course On Python For Trading
— Indian Quant \U0001f1ee\U0001f1f3 (@indian_quant) December 13, 2021
==========================
Module 1
Python makes it very easy to analyze and visualize time series data when you\u2019re a beginner. It's easier when you don't have to install python on your PC (that's why it's a nano course, you'll learn python...
Prerequisite: If you hadn't gone through the earlier modules, I strongly recommend you go through them all. Module 2: https://t.co/pciDOJXyVI
Note:
If you liked my content, you can donate, tip and support me on this link (any amount you prefer)
Nano Course On Python For Trading
— Indian Quant \U0001f1ee\U0001f1f3 (@indian_quant) December 13, 2021
==========================
Module 1
Python makes it very easy to analyze and visualize time series data when you\u2019re a beginner. It's easier when you don't have to install python on your PC (that's why it's a nano course, you'll learn python...
We are going to implement below strategy:
Rules: There should be three candles -> high of candle 1 > high of candle 2 > high of candle 3 and low of candle 1 < low of candle 2 < low of candle 3, where candle 3 is T-1 day, candle 2 is T-2 day and candle 1 is of T-3 Day, T = today.

If on today(day=T), the stock crosses yesterday high(candle 3), then send a buy signal to your telegram handle with candle 3 low as SL.
Before we get started with code, let's create a telegram bot using BotFather.
Step 1: Search BotFather in the telegram.
Step 2: type /newbot and then give the name to your bot. Refer to the second image as an example

You May Also Like
Covering one of the most unique set ups: Extended moves & Reversal plays
Time for a 🧵 to learn the above from @iManasArora
What qualifies for an extended move?
30-40% move in just 5-6 days is one example of extended move
How Manas used this info to book
The stock exploded & went up as much as 63% from my price.
— Manas Arora (@iManasArora) June 22, 2020
Closed my position entirely today!#BroTip pic.twitter.com/CRbQh3kvMM
Post that the plight of the
What an extended (away from averages) move looks like!!
— Manas Arora (@iManasArora) June 24, 2020
If you don't learn to sell into strength, be ready to give away the majority of your gains.#GLENMARK pic.twitter.com/5DsRTUaGO2
Example 2: Booking profits when the stock is extended from 10WMA
10WMA =
#HIKAL
— Manas Arora (@iManasArora) July 2, 2021
Closed remaining at 560
Reason: It is 40+% from 10wma. Super extended
Total revenue: 11R * 0.25 (size) = 2.75% on portfolio
Trade closed pic.twitter.com/YDDvhz8swT
Another hack to identify extended move in a stock:
Too many green days!
Read
When you see 15 green weeks in a row, that's the end of the move. *Extended*
— Manas Arora (@iManasArora) August 26, 2019
Simple price action analysis.#Seamecltd https://t.co/gR9xzgeb9K
I might have a panic attack due to excitement!!
Read this thread to the end...I just had an epiphany and my mind is blown. Actually, more than blown. More like OBLITERATED! This is the thing! This is the thing that will blow the entire thing out of the water!
Tik Tok pic.twitter.com/8X3oMxvncP
— Scotty Mar10 (@Allenma15086871) December 29, 2020
Has this man been concealing his true identity?
Is this man a supposed 'dead' Seal Team Six soldier?
Witness protection to be kept safe until the right moment when all will be revealed?!
Who ELSE is alive that may have faked their death/gone into witness protection?

Were "golden tickets" inside the envelopes??

Are these "golden tickets" going to lead to their ultimate undoing?
Review crumbs on the board re: 'gold'.

#SEALTeam6 Trump re-tweeted this.

Viruses and other pathogens are often studied as stand-alone entities, despite that, in nature, they mostly live in multispecies associations called biofilms—both externally and within the host.
https://t.co/FBfXhUrH5d

Microorganisms in biofilms are enclosed by an extracellular matrix that confers protection and improves survival. Previous studies have shown that viruses can secondarily colonize preexisting biofilms, and viral biofilms have also been described.

...we raise the perspective that CoVs can persistently infect bats due to their association with biofilm structures. This phenomenon potentially provides an optimal environment for nonpathogenic & well-adapted viruses to interact with the host, as well as for viral recombination.

Biofilms can also enhance virion viability in extracellular environments, such as on fomites and in aquatic sediments, allowing viral persistence and dissemination.
