Λογότυπο Trader Risk

Trader Risk

Κοινότητα
Jakeschincariol
trader-risk

Risk Manager. Checks every trade against your limits and stops anything over them, before it can reach the broker. For a day trade: a stop is required, the loss at the stop must fit your max loss per trade (measured from the higher of the plan's entry and a fresh price), reward:risk must meet your minimum, the day's total risk must fit your daily loss limit, no more than your trades per day, and no new entries outside your entry window or when the market is closed. It also keeps the basics: blocked tickers, order size, position cap, cash buffer, margin, short sales, options and crypto, malformed or bad bracket orders, duplicates and a daily order limit. Getting out is never blocked by a day limit. Prints PASS or BLOCK with the reason and records the verdicts so trader-broker only shows an order that passed. Use when the user says "check my order", "is this safe", "risk check", "does this break my rules", "can I take this trade", "how much have I risked today", or before /trader-broker, always.

Add to TypingMind

Επισκόπηση

ΕκδότηςJakeschincariol
Αποθετήριοday-trader-skill
Όνομα δεξιότηταςtrader-risk
Αστέρια
617
Διακλαδώσεις
119
Συνοδευτικά αρχεία
1
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 1

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό Jakeschincariol. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Trader Risk στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/Jakeschincariol/day-trader-skill/tree/main/trader-risk
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Jakeschincariol/day-trader-skill.git /tmp/day-trader-skill
mkdir -p .claude/skills
cp -r /tmp/day-trader-skill/trader-risk .claude/skills/trader-risk
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Trader Risk σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Trader Risk μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Trader Risk δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

trader-risk

The Risk Manager is the gate between a proposal and the broker. Every order written by trader-budget or trader-broker's flatten passes through it. A BLOCK is final for that order: it does not go to the user for a yes, and it does not go to the broker. Most people who day trade lose money. These limits keep each loss and each day's losses small. They do not make a trade win.

${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).

bash
python3 "${CLAUDE_SKILL_DIR}/check.py"                           # trader/ files; writes trader/state/risk.json
python3 "${CLAUDE_SKILL_DIR}/check.py" --json
python3 "${CLAUDE_SKILL_DIR}/check.py" --no-write                # look without recording
python3 "${CLAUDE_SKILL_DIR}/check.py" --now "2026-10-19 10:15"  # pin the clock (New York time)

What it reads and writes

filewhat
trader/orders.jsonthe proposed orders (trader-budget, or trader-broker's flatten)
trader/config.jsonthe limits (trader-budget ships config.example.json)
trader/portfolio.jsoncash and holdings; if missing, a fresh account funded with the budget
trader/prices.jsona fresh price raises the entry it measures risk from; also values holdings
trader/state/broker.jsonwhat was placed today: duplicates, trades per day, daily loss, day trades
trader/state/risk.jsonthe verdicts it writes, with a fingerprint of each exact order

Entries and exits

An entry opens or adds to a position: a buy, or a sell that would go short. An exit only reduces what you already hold. Getting out must always be possible, so an exit is checked for format, asset and short sales only. Every other rule (day limits, entry window, loss, reward:risk, blocked list, size, duplicates) turns into a warning for an exit, never a BLOCK.

The checks

Orders are checked in file order, as if each passed order had filled, so a batch that is fine order by order but breaks a limit together is caught.

checkblocks when
formatno symbol, side not buy or sell, both or neither of qty and notional, a notional order that is not market + day (Alpaca's rule), a limit order with no limit price; a bracket that is not whole shares, not day or gtc, or misses its stop-loss or take-profit
assetan option symbol while allow_options is false; crypto or anything that is not a US stock or ETF ticker
shorta sell of more than you hold (allow_short false)
blocked(entries) the ticker is on the blocked list
size(entries) under min_order_usd or over max_order_usd
position(entries) the stock would be over max_position_pct of the account
cash(entries) the buy would leave less than the cash buffer, or need margin
stop(entries) no stop while require_stop is true (a bracket stop_loss_stop_price, or the order's plan stop); a stop on the wrong side of the entry
loss(entries) qty x (entry minus stop) over max_loss_per_trade_usd
reward:risk(entries) (target minus entry) / (entry minus stop) under min_reward_risk
daily loss(entries) the max losses at the stops of today's entries, plus this one, over max_daily_loss_usd
trades(entries) max_trades_per_day entries already placed today
window(entries) before no_entries_before or after no_entries_after, or the market is closed
pdt(entries, only with pdt_guard true) 3 day trades already in the last 5 business days
duplicate(entries) the same symbol and side twice in one batch, or already placed today
daily limit(entries) max_orders_per_day orders already placed today

How the numbers work:

  • The entry it measures from: the limit price for a limit order. For a market order, the HIGHER of the plan's entry and a fresh price from trader/prices.json (under 15 minutes old). A plan written at 10:15 cannot understate the risk at 10:55 after the price ran up. An older price is not used, and it says so.
  • Daily loss counts the full max loss of every entry placed today, win or lose, as trader-broker logged it. Three full-size trades use up a $150 day.
  • The window is New York time, worked out in the tool (daylight saving included), never from the computer's clock zone. Weekends and NYSE holidays are closed. On a 1:00 p.m. early close the window ends 3 hours earlier too. Set both no_entries_* to null to switch the window off.
  • pdt_guard (off by default) counts a day trade as a symbol bought and sold on the same day in the log, plus any entry placed today (it is meant to be flat by the close). FINRA removed the $25,000 pattern-day-trader minimum (Regulatory Notice 26-10, effective June 4, 2026; firms may phase in until October 20, 2027), so some brokers still apply the old rule: turn pdt_guard on if yours does.

Warnings do not block, but say them to the user: a LIVE account, a number sent as a number instead of a string, a stop that lives only in the plan and not at the broker, a price too old to use, an early close today.

Steps

  1. If the price may have moved since the plan, refresh it first (trader-alerts: alerts.py quote TSLA --write).
  2. Run check.py. Exit code 0 means every order passed, 1 means at least one was blocked.
  3. Tell the user the result in plain words, order by order: the max loss at the stop, reward:risk, and how much of today's limits it uses. For a BLOCK, give the reason and the fix (fewer shares, a closer stop from trader-exit, wait for the window, or skip the trade). Never change a limit yourself.
  4. If the order changes in any way, run the check again. trader-broker matches each order to its verdict by fingerprint, so an edited order is not ready until it passes again, and a verdict from yesterday does not count today.

Example: the reel

The TSLA bracket from trader-budget at 10:15 AM on Monday 2026-10-19, on a fresh $5,000 paper account with the example config:

PASS  #1 buy TSLA 8 shares, entry
          entry 364.18 (the plan's entry), stop 358.32, target 370.04: risk 5.86 a share
          max loss $46.88 (limit $50), reward:risk 1.00 (min 1)
          today before this: 0 of 3 trades, $0 of $150 daily loss

1 passed, 0 blocked at 2026-10-19 10:15 New York. Cash after the passed orders: $2,086.56 (paper account).

One more share and it is blocked:

BLOCK #1 buy TSLA 9 shares, entry
          entry 364.18 (the plan's entry), stop 358.32, target 370.04: risk 5.86 a share
          max loss $52.74 (limit $50), reward:risk 1.00 (min 1)
          today before this: 0 of 3 trades, $0 of $150 daily loss
        - loss: 9 shares x 5.86 risk a share = $52.74 at the stop, over your $50 max loss per trade

The same 8 shares checked at 10:55 with the real 10:52 quote (366.48) in trader/prices.json are blocked twice: 8 x 8.16 = $65.28 at the stop, and reward:risk 0.44. At 9:40 they are blocked by the window (no new entries before 9:45). The 3:55 PM sell that closes the position passes, even though it is after the 3:30 entry cutoff: it is an exit.

Rules

  • A PASS only means the order is allowed to be shown to the user. It is not a yes.
  • Every number comes from the config, the order, the portfolio, the prices or the broker log.
  • Free Yahoo prices are unofficial and can lag; the broker's price is the one that fills, and a stop can fill worse than its price in a fast market.

What it never does

It never places an order, never edits an order to make it pass, never loosens a limit, never blocks a sell that only gets the user out, and never treats a PASS as the user's yes.

Safety

  • Education and tooling, not financial advice. A PASS is a rules check, not a recommendation.
  • Paper trading by default ("paper": true). Going live is the user's own decision, in their own config.
  • Nothing in this pack places an order except trader-broker, and only when all three hold: trader-risk passed that exact order today, the user typed an explicit yes for that one order in the chat, and the user clicked Allow once on Claude's own card because the order tool is set to "Needs approval" (Customize > Connectors > tool permissions). Never set an order tool to "Always allow".
  • No options, margin, short selling or leverage unless the config allows it and the user confirms.
  • Broker keys live in environment variables or the Claude Desktop config, never in the chat.

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Trader Risk;

Risk Manager. Checks every trade against your limits and stops anything over them, before it can reach the broker. For a day trade: a stop is required, the loss at the stop must fit your max loss per trade (measured from the higher of the plan's entry and a fresh price), reward:risk must meet your minimum, the day's total risk must fit your daily loss limit, no more than your trades per day, and no new entries outside your entry window or when the market is closed. It also keeps the basics: blocked tickers, order size, position cap, cash buffer, margin, short sales, options and crypto, malf...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Trader Risk στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Trader Risk είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Trader Risk στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/Jakeschincariol/day-trader-skill/tree/main/trader-risk. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Trader Risk;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Trader Risk;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Trader Risk με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Trader Risk;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό Jakeschincariol με την άδεια χρήσης MIT. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων
Λογότυπο nexu-io

Html Ppt Zhangzara Block Frame

nexu-io
ΟργανισμόςΔημοφιλής

Πώς ένα ανοργάνωτο deck startup μετατράπηκε σε παρουσίαση αντάξια του διοικητικού συμβουλίου — η διάγνωση, η δομή των διαφανειών και οι ανασχεδιασμένες σελίδες τεκμηρίωσης. Σχεδιασμένη ως παρουσίαση με έμφαση στον σχεδιασμό και τη δεξιοτεχνία, για ιδρυτές και στελέχη που παρουσιάζουν.

11.2K
96.7K
Αρχεία: 2
Προβολή
Λογότυπο nexu-io

Html Ppt Zhangzara Cartesian

nexu-io
ΟργανισμόςΔημοφιλής

Μια διπλωματική εργασία τελειόφοιτου Οικονομικών για τις επιπτώσεις των τοπικών αυξήσεων του κατώτατου μισθού στην απασχόληση — η στρατηγική ταυτοποίησης, τα τεκμήρια και οι περιορισμοί. Σχεδιασμένη ως παρουσίαση υποστήριξης ακαδημαϊκής εργασίας για την επιτροπή…

11.2K
96.7K
Αρχεία: 2
Προβολή
Λογότυπο addyosmani

Constraint Driven Development

addyosmani
ΚοινότηταΔημοφιλής

Καθορίζει το επίπεδο ποιότητας ενός έργου ως γραπτή συμφωνία και εμποδίζει τους πράκτορες AI να το υποβαθμίζουν σιωπηρά. Ρωτά τον χρήστη ποιες διαστάσεις έχουν σημασία και προτείνει εύλογα προεπιλεγμένα όρια όταν δεν υπάρχει συγκεκριμένος αριθμός…

10.1K
95.8K
Αρχεία: 1
Προβολή
Λογότυπο addyosmani

Spec Driven Development

addyosmani
ΚοινότηταΔημοφιλής

Δημιουργεί προδιαγραφές πριν από τον προγραμματισμό. Χρησιμοποιήστε το όταν ξεκινάτε ένα νέο έργο, μια λειτουργία ή μια σημαντική αλλαγή και δεν υπάρχει ακόμη προδιαγραφή. Χρησιμοποιήστε το για τη σύνταξη ενός PRD ή ενός εγγράφου απαιτήσεων με στόχους και εύρος εργασιών, ή…

10.1K
95.8K
Οδηγίες
Προβολή

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇