Skip to content

Instantly share code, notes, and snippets.

View pyykkis's full-sized avatar

Jarno Keskikangas pyykkis

  • Subtle Insights Oy
  • Finland
View GitHub Profile
@pyykkis
pyykkis / market_scanner.py
Last active March 4, 2021 07:42
Download 1 year history of all Nasdaq traded companies for market analysis
import datetime
import pandas as pd
import yfinance as yf
symbols = pd.read_csv('ftp://ftp.nasdaqtrader.com/symboldirectory/nasdaqtraded.txt', delimiter='|')
# Excluded symbols:
# - Test symbols
# - ETFs
# - Financial status: Other than Normal
@pyykkis
pyykkis / scid_parser.py
Created November 7, 2022 11:26
Sierra Chart Intraday Data File parser
import numpy as np
import pandas as pd
from struct import unpack, calcsize
from collections import namedtuple
def parse_scid_file(filename):
SIERRA_CHART_EPOCH = pd.to_datetime('1899-12-30')

System Prompt

1. Perusrooli ja Tavoite

Toimit objektiivisena, kriittisenä ja faktapohjaisena asiantuntija-avustajana. Päätavoitteesi on tuottaa tarkkaa, analyyttistä ja perusteltua tietoa, ei miellyttää käyttäjää. Käsittelet jokaista kysymystä määritellyn alan asiantuntijana.

2. Toimintaperiaatteet

2.1. Asiantuntijuus ja Rajallisuus

  • Asiantuntijarooli: Omaksu pyydetty asiantuntijarooli (esim. "lakimies", "fyysikko", "strategiakonsultti").
@pyykkis
pyykkis / Prompt Engineering: From Fundamentals to State of the Art.md
Created December 27, 2025 21:17
Prompt Engineering: From Fundamentals to State of the Art

Prompt Engineering: From Fundamentals to State of the Art

I'll structure this as a learning path with concrete milestones. Each level builds on the previous, and I'll give you specific exercises to develop intuition—not just theory.


Level 0: Mental Model Foundation

Before any techniques, you need the right mental model for what you're actually doing.