MS_금价 추적
중급
이것은Crypto Trading분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 Set, Code, Merge, Telegram, HttpRequest 등의 노드를 사용하며. 다중 통화 변환을 지원하는 Telegram 골드 가격 자동 추적기 📈
사전 요구사항
- •Telegram Bot Token
- •대상 API의 인증 정보가 필요할 수 있음
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "8647Dl470mxxSj2Q",
"meta": {
"instanceId": "c92a0c76586da37fb3ac600956b62e842bfa4bd5f52acc7feb4e8a6e75ca1381",
"templateCredsSetupCompleted": true
},
"name": "MS_GOLD_PRICING",
"tags": [],
"nodes": [
{
"id": "8a30ec34-036d-4b20-b434-1e2d6cd27c98",
"name": "일정 트리거",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-360,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 15
}
]
}
},
"typeVersion": 1.2
},
{
"id": "7082fdcf-2877-4f36-b90a-2178ca1505a4",
"name": "Report: Prepare",
"type": "n8n-nodes-base.code",
"position": [
840,
20
],
"parameters": {
"jsCode": "/*\n n8n Code Node – Gold Table v2 (Fixed Alignment + Thousand Separators)\n IN : same JSON payload\n OUT : { telegram_text : \"<Markdown V2>\" }\n*/\n\nconst data = $json;\nconst meta = data.items[0];\nconst gPerOz = 31.1034768;\nconst usdGram = meta.xauPrice / gPerOz;\nconst rates = data.rates;\n\n// Fixed formatting function with correct column widths and thousand separators\nfunction fmt(n, w) {\n const rounded = Math.round(n);\n const formatted = rounded.toLocaleString('en-US'); // Adds thousand separators\n return formatted.padStart(w, ' ');\n}\n\nfunction esc(txt) {\n return txt.replace(/([_*[\\]()~`>#+\\-=|{}.!])/g, '\\\\$1');\n}\n\nconst targets = [\n { flag: '🇪🇬', code: $('Set Currency').first().json.currency },\n { flag: '🇺🇸', code: 'USD' },\n];\n\nlet rows = '';\nfor (const t of targets) {\n const fx = rates[t.code] || 1;\n const g24 = usdGram * fx;\n \n // Format each column with the exact width from the table structure\n const currency = `${t.flag} ${t.code}`.padEnd(9, ' '); // \"Cur\" column is 8 chars wide (updated)\n const col24k = fmt(g24, 6); // \"24k g\" column is 6 chars wide \n const col21k = fmt(g24 * 0.875, 6); // \"21k g\" column is 6 chars wide\n const col18k = fmt(g24 * 0.75, 6); // \"18k g\" column is 6 chars wide\n const col24oz = fmt(g24 * gPerOz, 8); // \"24k oz\" column is 8 chars wide\n \n rows += `│ ${currency} │ ${col24k} │ ${col21k} │ ${col18k} │ ${col24oz} │\\n`;\n}\n\nconst arrow = meta.pcXau >= 0 ? '🔺' : '🔻';\nconst pct = meta.pcXau.toFixed(2).replace('-', '');\n\nconst text = `🪙 *Gold per gram / oz*\n\\`\\`\\`\n┌──────────┬────────┬────────┬────────┬──────────┐\n│ Cur │ 24k g │ 21k g │ 18k g │ 24k oz │\n├──────────┼────────┼────────┼────────┼──────────┤\n${rows}└──────────┴────────┴────────┴────────┴──────────┘\n\\`\\`\\`\n${arrow} *${esc(pct)}\\\\%* _exrate\\\\-api_`;\n\nreturn [{ json: { telegram_text: text } }];"
},
"typeVersion": 2
},
{
"id": "a6a78262-ed4e-4ecd-8fc9-7815548d1838",
"name": "Send a text message",
"type": "n8n-nodes-base.telegram",
"position": [
1160,
20
],
"webhookId": "6cad3897-95a7-4b25-8fcb-d1c6aac04aa2",
"parameters": {
"text": "={{ $json.telegram_text }}",
"chatId": "={{ $('Set Currency').item.json.telegram_chat_id }}",
"additionalFields": {
"parse_mode": "Markdown",
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "OymlVCuTPYhVa2B9",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "0cbfe028-2702-48fa-9370-a7e218e4aa79",
"name": "메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
-80
],
"parameters": {
"color": 5,
"width": 220,
"height": 240,
"content": "## Set inputs \n- currency"
},
"typeVersion": 1
},
{
"id": "7a41155a-e736-405e-bb18-3203fdcdf3dd",
"name": "메모3",
"type": "n8n-nodes-base.stickyNote",
"position": [
780,
-60
],
"parameters": {
"color": 3,
"width": 220,
"height": 240,
"content": "## Report"
},
"typeVersion": 1
},
{
"id": "b9bcc84e-b758-4309-b160-1d7d435e86ca",
"name": "메모4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1100,
-60
],
"parameters": {
"color": 6,
"width": 220,
"height": 240,
"content": "## Send"
},
"typeVersion": 1
},
{
"id": "b8c88e6d-7a4c-417b-a4e8-1533ebab27b5",
"name": "Convert Currency",
"type": "n8n-nodes-base.httpRequest",
"position": [
240,
180
],
"parameters": {
"url": "https://open.er-api.com/v6/latest/USD",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "d5000d8e-559e-4e23-a751-17af0ec75198",
"name": "Fetch Price",
"type": "n8n-nodes-base.httpRequest",
"position": [
240,
-160
],
"parameters": {
"url": "https://data-asg.goldprice.org/dbXRates/USD",
"options": {
"timeout": 5000
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1"
}
]
}
},
"retryOnFail": true,
"typeVersion": 4.2
},
{
"id": "c552222e-efc9-4c61-ba3c-f1a33d24765a",
"name": "메모5",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
-240
],
"parameters": {
"color": 3,
"width": 220,
"height": 240,
"content": "## Pricing"
},
"typeVersion": 1
},
{
"id": "1506df90-1c50-4744-b776-ff99e2b0d958",
"name": "메모6",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
100
],
"parameters": {
"color": 3,
"width": 220,
"height": 240,
"content": "## Currrency"
},
"typeVersion": 1
},
{
"id": "c90ab53c-8d8a-41b5-86e8-5136e81e6d96",
"name": "설정 Currency",
"type": "n8n-nodes-base.set",
"position": [
-80,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "b9f4869a-2059-4b09-84e3-26c7d1e95d30",
"name": "currency",
"type": "string",
"value": "={{ $env.currency }}"
},
{
"id": "593d886f-6c7b-4338-a057-46f2c57a041e",
"name": "telegram_chat_id",
"type": "string",
"value": "={{ $env.telegram_chat_id }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "baa17bc3-0f3e-40a5-9488-41ec54f0291a",
"name": "병합",
"type": "n8n-nodes-base.merge",
"position": [
560,
20
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition"
},
"typeVersion": 3.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "a0a28bf8-c7c2-4b00-aef6-799c08e5301f",
"connections": {
"Merge": {
"main": [
[
{
"node": "7082fdcf-2877-4f36-b90a-2178ca1505a4",
"type": "main",
"index": 0
}
]
]
},
"d5000d8e-559e-4e23-a751-17af0ec75198": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Set Currency": {
"main": [
[
{
"node": "d5000d8e-559e-4e23-a751-17af0ec75198",
"type": "main",
"index": 0
},
{
"node": "b8c88e6d-7a4c-417b-a4e8-1533ebab27b5",
"type": "main",
"index": 0
}
]
]
},
"7082fdcf-2877-4f36-b90a-2178ca1505a4": {
"main": [
[
{
"node": "a6a78262-ed4e-4ecd-8fc9-7815548d1838",
"type": "main",
"index": 0
}
]
]
},
"b8c88e6d-7a4c-417b-a4e8-1533ebab27b5": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Set Currency",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 암호화폐 거래
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
다중 모델 합의와 Telegram 알림을 통한 AI 주식 분석
다중 모델 합의 및 Telegram 알림 기반 AI 주식 분석 시스템
Set
Code
Merge
+
Set
Code
Merge
27 노드DevCode Journey
암호화폐 거래
MS_날씨
사용OpenWeatherMap및Telegram의자동화天气보고서 ☀️
Set
Code
Merge
+
Set
Code
Merge
12 노드M Sayed
개인 생산성
SOL/USDT 다중 시간 프레임 AI 시장 분석기 및 트레이딩 시스템 (Telegram 승인 포함)
Gemini AI, 멀티 타임프레임 분석 및 AFK Crypto를 사용한 Solana 트레이딩 자동화
If
Code
Wait
+
If
Code
Wait
56 노드Jeff
암호화폐 거래
AI 기반 주식 트레이딩 자동화
AI 기술 분석 및 Alpaca 트레이딩을 사용한 주식 트레이딩 자동화
Set
Code
Gmail
+
Set
Code
Gmail
96 노드Paul
암호화폐 거래
Degen Alpha
OpenAI의 암호화된 Alpha 스캐너 사용 - 체인과 소셜 경고를 Telegram으로 전송
If
Code
Merge
+
If
Code
Merge
38 노드Luka Zivkovic
암호화폐 거래
주식 분석 템플릿
기술 분석, AI, Telegram을 결합하여 주식 시장 통찰력 생성
If
Set
Code
+
If
Set
Code
25 노드Sergey Skorobogatov
암호화폐 거래