Skip to content

Instantly share code, notes, and snippets.

View debaonline4u's full-sized avatar
🎯
Focusing

Debashis Sahoo debaonline4u

🎯
Focusing
View GitHub Profile
@debaonline4u
debaonline4u / Install TA-Lib Linux.txt
Last active May 19, 2022 16:39
Install Ta-Lib on Linux
Install Ta-Lib on Linux
-------------------------
sudo apt-get -y install gcc build-essential
Install using Anaconda
----------------------
wget -O inst_conda.sh "https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh" \
&& /bin/bash inst_conda.sh -b \
&& rm inst_conda.sh \
&& ./anaconda3/bin/conda init \
@debaonline4u
debaonline4u / Nifty_26_march.csv
Last active April 6, 2021 13:42
Tick data to minutes OHLC data
We can't make this file beautiful and searchable because it's too large.
timestamp ltp volume
2021-03-26 09:15:49 14487.7 0
2021-03-26 09:15:50 14489.6 0
2021-03-26 09:15:51 14490.35 0
2021-03-26 09:15:52 14492.2 0
2021-03-26 09:15:53 14493.95 0
2021-03-26 09:15:54 14492.9 0
2021-03-26 09:15:55 14493.5 0
2021-03-26 09:15:56 14494 0
2021-03-26 09:15:57 14495.75 0
@debaonline4u
debaonline4u / creating_array_using_array.py
Created August 1, 2018 05:42
create string type array using numpy array()
# Python program to create a string type array using numpy array() method.
from numpy import *
arr = array(['Delhi', 'Mumbai', 'Hyderabad', 'Bengaluru', 'Bhubneswar', 'Baroda'])
# Creating an array from another array.
arr2 = array(arr)