{
"$type": "site.standard.document",
"content": {
"$type": "blog.pckt.content",
"items": [
{
"$type": "blog.pckt.block.text",
"plaintext": "Been playing with kraken-cli + Claude Code for a trading bot stack. Here's the split that clicked for me today:"
},
{
"$type": "blog.pckt.block.text",
"facets": [
{
"features": [
{
"$type": "blog.pckt.richtext.facet#bold"
}
],
"index": {
"byteEnd": 36,
"byteStart": 5
}
},
{
"features": [
{
"$type": "blog.pckt.richtext.facet#bold"
}
],
"index": {
"byteEnd": 176,
"byteStart": 157
}
}
],
"plaintext": "š¤ Agentic for design & validation ā describe your strategy in natural language, the LLM figures out the implementation, fetches data, and paper trades. (strategy compiler)"
},
{
"$type": "blog.pckt.block.text",
"facets": [
{
"features": [
{
"$type": "blog.pckt.richtext.facet#bold"
}
],
"index": {
"byteEnd": 34,
"byteStart": 7
}
},
{
"features": [
{
"$type": "blog.pckt.richtext.facet#bold"
}
],
"index": {
"byteEnd": 208,
"byteStart": 184
}
}
],
"plaintext": "āļø Deterministic for execution ā once the logic is solid, extract it into a Python/Bash script. Predictable, loggable, no LLM in the hot path. Calculate signals, run strategies. (working implementation)"
},
{
"$type": "blog.pckt.block.text",
"facets": [
{
"features": [
{
"$type": "blog.pckt.richtext.facet#bold"
}
],
"index": {
"byteEnd": 155,
"byteStart": 136
}
}
],
"plaintext": "The LLM reads the script output and reasons over the signal together with related calculated data before asking for human confirmation. (human in the loop)"
},
{
"$type": "blog.pckt.block.text",
"plaintext": "Idea ā code ā signal ā reasoning ā trigger"
}
]
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreibanp3rypekqifmgl5plxhyyiwjdupt3ys5e7q4rkd36xjskfllku"
},
"mimeType": "image/png",
"size": 64726
},
"description": "Been playing with kraken-cli + Claude Code for a trading bot stack. Here's the split that clicked for me today: š¤ Agentic for design & validation ā describe your strategy in natural language, the LLM figures out the implementation, fetches data, and paper trades. (strategy compiler) āļø Deterministic for execution ā once the logic is solid, extract it into a Python/Bash script. Predictable, loggable, no LLM in the hot path. Calculate signals, run strategies. (working implementation)",
"path": "/how-to-use-llms-in-a-trading-bot-stack-h96yt4e",
"publishedAt": "2026-03-15T18:52:02+00:00",
"site": "at://did:plc:vdqvzw2uipkchqrcbw4cxhw2/site.standard.publication/3mgmgho4iuwjb",
"tags": [],
"textContent": "Been playing with kraken-cli + Claude Code for a trading bot stack. Here's the split that clicked for me today:\nš¤ Agentic for design & validation ā describe your strategy in natural language, the LLM figures out the implementation, fetches data, and paper trades. (strategy compiler)\nāļø Deterministic for execution ā once the logic is solid, extract it into a Python/Bash script. Predictable, loggable, no LLM in the hot path. Calculate signals, run strategies. (working implementation)\nThe LLM reads the script output and reasons over the signal together with related calculated data before asking for human confirmation. (human in the loop)\nIdea ā code ā signal ā reasoning ā trigger",
"title": "How to Use LLMs in a Trading Bot Stack",
"updatedAt": "2026-05-11T17:07:51+00:00"
}