Skip to content

Instantly share code, notes, and snippets.

View blackfry's full-sized avatar
🤷‍♂️

Mark Dickie blackfry

🤷‍♂️
  • Cayman Pty Ltd
  • Sydney Australia
View GitHub Profile
@ivannp
ivannp / opportunities.py
Last active August 16, 2017 21:27
Discovering trading opportunities in price series and generating possible predictors
import pandas as pd
import numpy as np
import instrumentdb as idb
import math
import pickle
def good_entries(ohlcv, min_days = 3, days_out = 15, vola_len = 35, days_pos = 0.6, stop_loss = 1.5):
if days_out <= min_days:
raise RuntimeError('days_out must be greater than min_days.')
@yoavniran
yoavniran / ultimate-ut-cheat-sheet.md
Last active October 1, 2024 17:10
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai, Sinon, and Jest