Skip to content

Instantly share code, notes, and snippets.

View arunsathiya's full-sized avatar

Arun Sathiya arunsathiya

View GitHub Profile
@arunsathiya
arunsathiya / gist-2-china-export-restrictions-ratios.md
Created December 27, 2025 08:04
China Silver Export Restrictions & Precious Metal Ratios Explained (Gold/Silver, Gold/Platinum)

China's Silver Export Restrictions & Understanding Precious Metal Ratios

China's Export Restrictions: What Happens Next?

China announced that starting January 1, 2026, exports of certain critical minerals (including silver, antimony, and others) will require government licenses. This isn't an outright ban, but it gives Beijing a chokepoint to control flows.

Scenario 1: Prices Converge Upward (Most Likely Short-Term)

  • Western markets must catch up because physical supply shrinks
  • If China controls ~2/3 of refined silver output and restricts exports, Western industrial users (solar manufacturers, electronics, EVs) face genuine shortages
  • COMEX can't settle contracts with paper forever—eventually physical delivery demands force price discovery higher
@arunsathiya
arunsathiya / gist-1-sd-bullion-summary.md
Created December 27, 2025 08:04
SD Bullion Market Update Summary - Christmas Week 2025 (Silver, Gold, Platinum Analysis)

SD Bullion Market Update Summary (Christmas Week 2025)

Overview

This is a bullion market update from SD Bullion's James Anderson, covering an unexpectedly volatile Christmas trading week. The core narrative: Chinese exchanges are paying massive premiums for silver, platinum, and palladium, signaling potential supply shortages and a significant shift in precious metals markets.


Key Points

1. Extreme Chinese Premiums on Precious Metals

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Session Export - 2025-11-14T09-04-57-547Z_f0409d02-08d5-4465-b381-a6073d3ada52.jsonl</title>
<style>
* {
margin: 0;
padding: 0;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Session Export - 2025-11-14T08-52-19-367Z_3f2ecb51-787c-49f8-aea3-d5ff2a81e487.jsonl</title>
<style>
* {
margin: 0;
padding: 0;
@arunsathiya
arunsathiya / 2025-11-14T09-04-57-547Z_f0409d02-08d5-4465-b381-a6073d3ada52.html
Created November 14, 2025 09:12
Pi coding-agent session: GitHub issue creation and gist deployment discussion
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Session Export - 2025-11-14T09-04-57-547Z_f0409d02-08d5-4465-b381-a6073d3ada52.jsonl</title>
<style>
* {
margin: 0;
padding: 0;
@arunsathiya
arunsathiya / 2025-11-14T09-04-57-547Z_f0409d02-08d5-4465-b381-a6073d3ada52.html
Created November 14, 2025 09:12
Pi coding-agent session: Created GitHub issue for message queuing feature
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Session Export - 2025-11-14T09-04-57-547Z_f0409d02-08d5-4465-b381-a6073d3ada52.jsonl</title>
<style>
* {
margin: 0;
padding: 0;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Session Export - 2025-11-14T09-04-57-547Z_f0409d02-08d5-4465-b381-a6073d3ada52.jsonl</title>
<style>
* {
margin: 0;
padding: 0;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Session Export - 2025-11-13T20-08-34-073Z_9ba167be-94c9-4d6e-a386-0b4d24fefcb0.jsonl</title>
<style>
* {
margin: 0;
padding: 0;
@arunsathiya
arunsathiya / sample.txt
Created August 1, 2025 15:09
Sample text file created with Claude Code
Hello from Claude Code!
This is a sample text file created to demonstrate GitHub gist functionality.
Current date: 2025-08-01
Created by: arunsathiya
Purpose: Testing gh CLI gist upload
Feel free to modify this file or use it as a template for your own gists.
const findClosestSlug = (requestedSlug: string, currentSlugs: string[]): string | null => {
const requestedKeywords = extractKeywords(requestedSlug);
let bestMatch = {
slug: '',
score: 0,
matchedKeywords: 0
};
for (const slug of currentSlugs) {
const slugKeywords = extractKeywords(slug);