Skip to content

Instantly share code, notes, and snippets.

@MaxHalford
MaxHalford / ogd-in-sql.ipynb
Created March 7, 2023 12:32
Online gradient descent written in SQL
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# -*- coding: utf-8 -*-
"""
:description: A Function To Generate TOTP From Qrcode Image.
:license: MIT.
:author: Shabbir Hasan
:created: On Wednesday November 18 2022 17:43:57 GMT+05:30
"""
__author__ = "Shabbir Hasan"
__webpage__ = "https://github.com/ShabbirHasan1"
__license__ = "MIT"
@ih2502mk
ih2502mk / list.md
Last active April 19, 2025 04:51
Quantopian Lectures Saved
@m-ahmadi
m-ahmadi / all-technical-indicators.md
Last active August 17, 2024 02:12
A List of All Technical Indicators
import yfinance as yf
import datetime as dt
import warnings
import talib
import pandas as pd
import time
from yahoo_fin import stock_info as si
from scipy.stats import zscore
import numpy as np
@imtaehyun
imtaehyun / technical-analysis-indicators-without-talib-code.py
Last active January 4, 2025 21:55
Technical analysis Indicators without Talib (code)
# https://www.quantopian.com/posts/technical-analysis-indicators-without-talib-code
import numpy
import pandas as pd
import math as m
#Moving Average
def MA(df, n):
MA = pd.Series(pd.rolling_mean(df['Close'], n), name = 'MA_' + str(n))
df = df.join(MA)
@chandinijain
chandinijain / Measuring Momentum.ipynb
Last active September 8, 2023 06:06
Trading Strategy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chandinijain
chandinijain / Momentum Strategy.ipynb
Last active September 8, 2023 06:05
Trading Strategy
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""
Implements a simple HTTP/1.0 Server
"""
import socket
def handle_request(request):
"""Handles the HTTP request."""