Skip to content

Instantly share code, notes, and snippets.

View gahoccode's full-sized avatar
💭
Always cooking

Tam Le gahoccode

💭
Always cooking
View GitHub Profile
@gahoccode
gahoccode / VNQuant-docs.ipynb
Last active May 9, 2025 02:23
VNQuant-docs.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"basics": {
"name": "Le Minh Tam",
"label": "Finance Business Partner",
"image": "https://media.licdn.com/dms/image/v2/D5603AQGPCm_1KLCRtA/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1720943163807?e=1748476800&v=beta&t=v9G6U8PnmHqR5Bdo4kbs8vLgt_QerBMPTWZAIFVnBUQ",
"email": "tamle.fpa@gmail.com",
"phone": "0963639979",
"url": "www.linkedin.com/in/tamlefpa",
"summary": "Results-driven FP&A specialist delivering actionable financial insights that guide strategic decision-making and drive business growth. Skilled in budgeting, forecasting, and financial modeling, transforms complex data into clear, impactful reports. Proficient in Excel with foundational Python and VBA skills for process automation, and a strong communicator in English who effectively conveys critical information to management and leadership.",
"location": {
@gahoccode
gahoccode / Stock Price Loader
Created March 28, 2025 09:11
Load sample stock data
url = "https://raw.githubusercontent.com/gahoccode/Datasets/main/myport2.csv"
df = pd.read_csv(url)
print(df.head())
@gahoccode
gahoccode / WSL-install-miniconda.md
Created October 27, 2024 14:08 — forked from lindacmsheard/WSL-install-miniconda.md
Install miniconda on WSL

Install Miniconda on Linux or WSL

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
# yes yes
source ~/.bashrc
rm Miniconda3-latest-Linux-x86_64.sh

# to ensure WSL can start normally without an active conda env
@gahoccode
gahoccode / OHLCV_loop2.py
Created July 1, 2022 13:53
Get multiple stock price data using investpy
def generate_stock_returns(stocks_list, begin_date, end_date):
prices = pd.DataFrame()
for stock in stocks_list:
df_ = investpy.get_stock_historical_data(stock=stock,
country='Vietnam',
from_date=begin_date,
to_date=end_date).Close
df_.rename(stock, inplace=True)
@gahoccode
gahoccode / OHLCV_loop.py
Created July 1, 2022 13:52
Get multiple stock price data
import investpy
country_of_choice = "vietnam"
data_frequency = "Daily"
# initializing the final dataframe
stocks_df = pd.DataFrame()
# looping through each entries in our stock list to get data
for i in range(len(tickers)):