Skip to content

Instantly share code, notes, and snippets.

@quantra-go-algo
quantra-go-algo / Ichimoku Cloud And Trading Strategy.py
Created May 17, 2021 13:06
Ichimoku Cloud And Trading Strategy
# Import packages
import pandas as pd
import matplotlib.pyplot as plt
import yfinance as yf
# Read BTC/USD data
df = yf.download('BTC-USD', '2019-01-01', '2021-01-01')
[*********************100%***********************] 1 of 1 completed
@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active November 14, 2024 15:40
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@simplyvikram
simplyvikram / tornado_long_blocking.py
Last active February 27, 2022 00:07
trying to call a long blocking function in tornado in a non blocking way, updated based on feedback(https://gist.github.com/badlydrawnrod/7003909)
import tornado.web
import tornado.gen
import time
from functools import partial
import os
from concurrent.futures import ThreadPoolExecutor
def long_blocking_function(index, sleep_time):
print "Entering run counter:%s" % (index,)
@granoeste
granoeste / activity_main.xml
Created August 13, 2012 07:34
[Android] Glossy gradient button
<Button
android:id="@+id/button1"
style="@style/GlossyGradientButtonStyle"
android:layout_width="wrap_content"
android:layout_height="@dimen/button_height"
android:minWidth="100dp"
android:text="OK" />
<Button
android:id="@+id/button2"