Skip to content

Instantly share code, notes, and snippets.

Date Open High Low Close Volume
2001-01-03 00:00:00 241.0000000 249.0000000 233.0000000 235.5000000 113993
2001-01-04 00:00:00 253.9000000 269.8000000 253.9000000 262.2100000 214125
2001-01-05 00:00:00 260.0000000 280.0000000 258.5000000 270.0000000 164040
2001-01-09 00:00:00 265.0000000 285.7000000 265.0000000 283.5000000 169111
2001-01-10 00:00:00 288.0000000 301.9999900 288.0000000 297.0000000 248682
2001-01-11 00:00:00 305.0000000 313.0000000 295.0000000 303.9999900 273966
2001-01-12 00:00:00 314.0000000 316.4000000 302.5000000 304.0000000 216767
2001-01-15 00:00:00 304.0000000 313.0000000 299.0000000 312.5000000 188518
2001-01-16 00:00:00 315.5000000 317.8500000 308.5000000 312.0000000 331255
Date Open High Low Close Volume
2001-10-31 00:00:00 379.0000000 379.0000000 366.0000000 366.0100000 1200
2001-11-01 00:00:00 371.9900000 378.6600000 371.9900000 378.4500000 7725
2001-11-02 00:00:00 380.0100000 382.0000000 362.0000000 365.0000000 21666
2001-11-05 00:00:00 364.0000000 373.5000000 358.0000000 365.0000000 44998
2001-11-06 00:00:00 367.0000000 370.0000000 350.0000000 355.0000000 10174
2001-11-08 00:00:00 349.0000000 383.4000000 345.0000000 383.4000000 45955
2001-11-09 00:00:00 380.0000000 400.0000000 372.5000000 390.0000000 33365
2001-11-12 00:00:00 400.0000000 405.0000000 371.0000000 384.0000000 31103
2001-11-13 00:00:00 390.5000000 445.0000000 390.0000000 440.0000000 56991
Date Open High Low Close Volume
2006-01-23 00:00:00 239.0000000 239.0000000 218.4900000 218.8900000 5078252
2006-01-24 00:00:00 220.5000000 224.6800000 219.6600000 224.0000000 8971078
2006-01-25 00:00:00 225.2000000 231.0000000 225.0000000 228.3800000 15467697
2006-01-26 00:00:00 228.9000000 229.4100000 223.5100000 224.4700000 7585458
2006-01-27 00:00:00 226.2000000 231.5000000 224.0000000 228.7500000 12719299
2006-01-30 00:00:00 231.0700000 231.0700000 215.0000000 216.0000000 17240278
2006-01-31 00:00:00 218.0000000 224.2300000 215.7100000 219.0200000 11733963
2006-02-01 00:00:00 219.5000000 223.9900000 215.0000000 223.9900000 8547010
2006-02-02 00:00:00 223.9000000 224.5000000 220.0000000 221.5000000 5405728
Date Open High Low Close Volume
2005-06-22 00:00:00 220.0000000 220.0000000 217.0000000 219.0000000 6400
2005-06-23 00:00:00 219.0000000 230.0000000 219.0000000 223.0000000 4300
2005-06-24 00:00:00 225.0000000 227.0000000 216.0000000 216.0000000 1800
2005-06-27 00:00:00 213.5000000 213.5000000 211.0000000 211.0000000 600
2005-06-28 00:00:00 214.0000000 216.0000000 208.0000000 208.0000000 4300
2005-06-29 00:00:00 207.0100000 210.0000000 207.0000000 209.0000000 1600
2005-06-30 00:00:00 209.2000000 217.4000000 208.0000000 208.0000000 600
2005-07-01 00:00:00 208.0000000 210.0000000 207.0000000 210.0000000 14800
2005-07-04 00:00:00 215.9000000 217.0000000 211.0100000 212.0000000 13200
@vladignatyev
vladignatyev / ALRS_010101_210826.csv
Last active August 29, 2021 14:35
ALRS: Alrosa OHLC data
Date Open High Low Close Volume
2011-11-29 00:00:00 35.0000000 40.6090000 35.0000000 40.6090000 19100
2011-11-30 00:00:00 48.3200000 54.6000000 42.0000000 54.6000000 76800
2011-12-01 00:00:00 67.0000000 76.4400000 65.5500000 76.4400000 11800
2011-12-02 00:00:00 100.1000000 107.0160000 45.8640000 45.8640000 1898500
2011-12-05 00:00:00 37.5500000 41.9850000 36.7000000 37.1000000 1547100
2011-12-06 00:00:00 37.0000000 37.1000000 34.7500000 34.8000000 831100
2011-12-07 00:00:00 34.7010000 36.0000000 34.5010000 35.3000000 467700
2011-12-08 00:00:00 35.3000000 35.3000000 34.7500000 34.8210000 181100
2011-12-09 00:00:00 34.9990000 35.2400000 34.2000000 34.3900000 631700
@vladignatyev
vladignatyev / nasdaq_100_components.csv
Created August 27, 2021 14:28
NASDAQ 100 Components
Ticker Weight
AAPL 11.17
MSFT 10.22
AMZN 7.587
GOOG 4.173
FB 3.961
GOOGL 3.86
NVDA 3.797
TSLA 3.792
PYPL 2.219
@vladignatyev
vladignatyev / elbrus.py
Created May 22, 2021 14:55
Elbrus Bootcamp: Back To The 80's Demo
# MIT License
#
# Copyright (c) 2021 Vladimir Ignatev <ya.na.pochte@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@vladignatyev
vladignatyev / base64utils.js
Last active November 9, 2021 09:42
toBinary() and fromBinary() workaround to make atob() and btoa() work with UTF strings. Example for the original blog post at https://base64tool.com website
/*
* The following snippet is from the Mozilla Developer Portal documentation.
* Utility functions toBinary() and fromBinary() make possible to use btoa() and atob()
* with UTF strings.
*
* The original example here: https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/btoa
* For additional information see: https://base64tool.com/uncaught-domexception-btoa-on-window/
*
* Usage example:
* > btoa(toBinary('☸☹☺☻☼☾☿'))
@vladignatyev
vladignatyev / pass.py
Created March 29, 2020 08:10
Python script to generate secure passwords
L = 12; import os; voc = 'abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()'; print(''.join([voc[int.from_bytes(os.urandom(1), "big") % len(voc)] for i in range(L)]))
@vladignatyev
vladignatyev / PowerSet.swift
Created March 1, 2020 17:16
Combinatorics: Pure Swift 5 Power Set algorithm implementation. Returns power set elements (permutation), in ascending order from smaller to bigger subsets.
import Foundation
class PowerSetIterator<T> {
var sourceSet: [T]
var l: Int
var setlen: Int
var ones: [Int]
var lastDigit: Int?
var yield1: Bool