Learn Algo Trading with Python | Codes | Youtube Series

Hi @Happy_Life
we don’t need to write any algo for it,
This can be done in excel itself on tick by tick basis.

See this one:

Also do send your idea in detail.