Skip to content

Instantly share code, notes, and snippets.

View AndriyLazorenko's full-sized avatar

Andriy Lazorenko AndriyLazorenko

  • Kyiv
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import sys
import math
from Week4.closest.utils.timer import timer
@timer
def closest_split_pair(p_x, p_y, delta, best_pair):
ln_x = len(p_x) # store length - quicker
mx_x = p_x[ln_x // 2][0] # select midpoint on x-sorted array
@AndriyLazorenko
AndriyLazorenko / Asset-1_extracted_series.csv
Last active November 23, 2021 05:42
Visualize assets and money manager performance over a time period
date price
2021-07-23T11:53:14.485501Z 1172
2021-07-23T12:53:14.485499Z 1172
2021-07-23T13:53:14.485497Z 1172
2021-07-23T14:53:14.485495Z 1172
2021-07-23T15:53:14.485493Z 1172
2021-07-23T16:53:14.485491Z 1172
2021-07-23T17:53:14.485490Z 1172
2021-07-23T18:53:14.485488Z 1172
2021-07-23T19:53:14.485486Z 1173