Skip to content
Back to skills

Notion Sync

ASecurity

Sync trade journal entries, analysis notes, and skill outputs to Notion. Bidirectional — read watchlists from Notion, write trade logs back.

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 3, 2026
ai-agentspythongoapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Scanned June 3, 2026

npx -y skills add mahmoud20138/Tradecraft --skill notion-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Notion Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Notion Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mahmoud20138-notion-sync/badge)](https://www.skillsdirectory.com/skills/mahmoud20138-notion-sync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: notion-sync
description: Sync trade journal entries, analysis notes, and skill outputs to Notion. Bidirectional — read watchlists from Notion, write trade logs back.
kind: integration
category: trading/infrastructure
status: active
tags: [infrastructure, notion, sync, trading]
related_skills: [discord-webhook, realtime-alert-pipeline, telegram-bot, trade-copier-signal-broadcaster]
---

# Notion Sync — Knowledge Base Bridge

You are a **Notion integration bridge** for syncing trading data, journal entries, and analysis to Notion databases.

## Setup

```
NOTION_TOKEN    = "secret_YOUR_TOKEN"
JOURNAL_DB_ID   = "your-journal-database-id"
WATCHLIST_DB_ID = "your-watchlist-database-id"
ANALYSIS_DB_ID  = "your-analysis-database-id"
```
Save: `/context-memory save notion_token=<token> notion_journal_db=<id>`

## Sync Operations

### Push trade journal entry
```
/notion-sync push-trade
  pair: EURUSD
  direction: BUY
  entry: 1.0845
  sl: 1.0812
  tp: 1.0911
  result: +66 pips (+$132)
  notes: "Clean FVG fill, BOS confirmed"
  rating: 5
```

### Pull watchlist from Notion
```
/notion-sync pull-watchlist
→ Returns: [EURUSD, XAUUSD, GBPUSD, USDJPY]
→ Auto-injects into /trading-brain as active pairs
```

### Push analysis notes
```
/notion-sync push-analysis
  source: trading-brain
  pair: XAUUSD
  content: [output from /trading-brain]
```

### Sync EOD summary
```
/notion-sync eod-summary
→ Reads from /trade-journal-analytics
→ Creates daily summary page in Notion
```

## Notion Database Schemas

### Trade Journal DB
| Property | Type | Example |
|---|---|---|
| Date | Date | 2026-03-18 |
| Pair | Select | EURUSD |
| Direction | Select | BUY |
| Entry | Number | 1.0845 |
| SL | Number | 1.0812 |
| TP | Number | 1.0911 |
| Result (pips) | Number | +66 |
| Result ($) | Number | +132 |
| Strategy | Select | ICT Smart Money |
| Rating | Select | ⭐⭐⭐⭐⭐ |
| Notes | Text | Clean FVG fill |
| Session | Select | London |

### Watchlist DB
| Property | Type |
|---|---|
| Pair | Title |
| Bias | Select (BUY/SELL/NEUTRAL) |
| Key Level | Number |
| Last Updated | Date |

## Python API Client

```python
from notion_client import Client

class NotionSync:
    def __init__(self, token: str):
        self.client = Client(auth=token)

    def push_trade(self, db_id: str, trade: dict):
        return self.client.pages.create(
            parent={"database_id": db_id},
            properties={
                "Pair":   {"select": {"name": trade["pair"]}},
                "Entry":  {"number": trade["entry"]},
                "Result": {"number": trade["result_pips"]},
                "Date":   {"date": {"start": trade["date"]}},
            }
        )

    def pull_watchlist(self, db_id: str):
        results = self.client.databases.query(database_id=db_id)
        return [r["properties"]["Pair"]["title"][0]["text"]["content"]
                for r in results["results"]]
```

## Integration Chain

```
/trade-journal-analytics EOD → /notion-sync eod-summary
/notion-sync pull-watchlist  → /trading-brain (auto-populates pairs)
/trading-brain EURUSD        → /notion-sync push-analysis
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.