Skip to content

Instantly share code, notes, and snippets.

@IgBell
IgBell / CandlestickRecognition.py
Created May 28, 2024 21:49 — forked from AbhishekBhosale46/CandlestickRecognition.py
CandleStick pattern recognition in python
import talib
import yfinance as yf
from datetime import date
today = date.today().strftime("%Y-%m-%d")
stockticker = '^BSESN'
dataframe = yf.download(stockticker, start='2021-03-31', end=today)
open = dataframe['Open']
high = dataframe['High']
@IgBell
IgBell / pygame ball.py
Created May 8, 2022 20:47 — forked from ShashkovS/pygame ball.py
Сталкивающиеся шарики разных масс и радиусов на pygame
from random import randint, uniform
from math import hypot
import pygame
import sys
SCREEN_SIZE = WIDTH, HEIGHT = (1000, 1000)
# Готовим 200 кругов в случайных местах случайного радиуса и цвета
N = 200
CIRCLES = [