This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import randint, uniform | |
from math import hypot | |
import pygame | |
import sys | |
SCREEN_SIZE = WIDTH, HEIGHT = (1000, 1000) | |
# Готовим 200 кругов в случайных местах случайного радиуса и цвета | |
N = 200 | |
CIRCLES = [ |