Skip to content

Instantly share code, notes, and snippets.

@mdancho84
mdancho84 / core-strategy-1-volatility-targeting.ipynb
Created February 20, 2024 00:08
Core Strategy 1: Volatility Targeting
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rzbrk
rzbrk / profiles.conf
Created May 26, 2021 16:39
My resticprofile configuration (personal notebook)
[default]
repository = "XXXX"
password-file = "/usr/local/etc/resticprofile/restic-backup.pwd"
initialize = false
[default.env]
TMPDIR = "/tmp"
[default.backup]
verbose = true
@t27
t27 / render_json_jupyter_collapsible.py
Last active February 5, 2024 18:40
Render JSON as a collapsible field in jupyter notebooks - Updated - Also includes instructions for interleaving with print statements
## Add this to the first block in your note book
import uuid
from IPython.core.display import display, HTML
import json
class RenderJSON(object):
def __init__(self, json_data):
if isinstance(json_data, dict):
self.json_str = json.dumps(json_data)