Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍🎓
I may be slow to respond.

Jasper van Merle jmerle

👨‍🎓
I may be slow to respond.
View GitHub Profile
View lean.json
{
// this configuration file works by first loading all top-level
// configuration items and then will load the specified environment
// on top, this provides a layering affect. environment names can be
// anything, and just require definition in this file. There's
// two predefined environments, 'backtesting' and 'live', feel free
// to add more!
// engine
"data-folder": "data",
View main.json
{
"RollingWindow": {
"M1_20180131": {
"TradeStatistics": {
"StartDateTime": null,
"EndDateTime": null,
"TotalNumberOfTrades": 0,
"NumberOfWinningTrades": 0,
"NumberOfLosingTrades": 0,
"TotalProfitLoss": "0",
View main.json
{
"RollingWindow": {
"M1_20210405": {
"TradeStatistics": {
"StartDateTime": null,
"EndDateTime": null,
"TotalNumberOfTrades": 0,
"NumberOfWinningTrades": 0,
"NumberOfLosingTrades": 0,
"TotalProfitLoss": "0",
View Python.Runtime.dll.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<dllmap dll="python3.6m" target="/home/jasper/.miniconda3/envs/qc/lib/libpython3.6m.so" os="!windows"/>
</configuration>
@jmerle
jmerle / build.yml
Created Jul 15, 2020
The GitHub Actions workflow I use in the ICFP Programming Contest 2020
View build.yml
name: Build
on:
push:
branches-ignore:
- submission
pull_request:
branches-ignore:
- submission
@jmerle
jmerle / .editorconfig
Created Jul 5, 2020
My general-purpose editorconfig
View .editorconfig
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
View globals.py
from typing import List, Optional, Tuple
from battlehack20.engine.game.game import *
def log(msg: str):
"""
Type-agnostic method.
Logs a message.
View quantconnect-backtest-results.json
{
"backtestId": "xxxxx",
"name": "xxxxx",
"created": "2020-03-04 21:17:58",
"completed": true,
"progress": 1,
"result": {
"RollingWindow": {
"M1_20190831": {
"TradeStatistics": {
@jmerle
jmerle / privacy-policies-browser-extensions.md
Last active Feb 7, 2021
Privacy policies for my browser extensions
View privacy-policies-browser-extensions.md

Privacy policies for my browser extensions

This document outlines the information that is used and sometimes shared by my browser extensions.

If you have any questions regarding the data that is used/shared by any of these extensions, do not hesitate to open an issue in one of the repositories linked below or to send me an email at jaspervmerle (at) gmail (dot) com.

Competitive Companion

Competitive Companion extracts problem data from online judges. This only happens when the user triggers the page action. The extracted problem data does not contain personal data.

The extracted problem data is shared with various ports on localhost. These are port 4243, the ports in this file and any custom ports specified by the user in the extension's settings. Extracted problem data is never sent to non-localhost hosts.