Перейти к основному содержимому

Меню команд

Перейти на страницу или искать в каталоге

ИИ-инструменты и скрипты

Crypto Trade Post-Mortem from Exchange Fills (PnL, Exits)

Это объявление показано на языке оригинала (английский).

Read-only forensics on a crypto trade: settle which exit really fired from the exchange's own fills, prove PnL against venue fills to 1e-6, find orphaned conditional orders, and explain entries that never happened per venue.

$7.00

Что вы получите: 1 файл · 15.69 KB · ZIP

Варианты покупки

Описание товара

When a close alert says STOP LOSS you should be able to check it. This skill gives an agent a read-only method to settle what really happened on a trade from the exchange's own records, not from your bot's label.

What is inside: - SKILL.md - the method: pull the venue's fills and conditional-order history, identify the exit by the order's text tag or conditional id, check whether the close-reason label and reported PnL are true (and why a nearest-price attribution routine can guess wrong and leave an orphaned conditional behind), reconcile PnL against fills to 1e-6 including fees, and look for leftover coins or orders on the account. - references/entry-never-happened.md - a per-venue checklist for "why did this signal open nothing here": permissions, leverage and margin mode, symbol filters, minimum notional, and refusals that look like bugs. - scripts/fills_pnl.py - recomputes PnL from fills. - scripts/price_order_time.py - places a price on the order timeline to show what the market did around each order. - scripts/gate_close_attribution.sh - read-only Gate close attribution.

For traders and developers who run their own bots across several exchanges. Needs Python 3 and read-only keys. It never places or cancels an order. Also part of the Crypto Trading Ops Playbooks pack at a lower per-skill price.

Example request

Our alert says position XYZ closed by STOP LOSS with -2.1 percent. Check from the exchange fills whether that is true and whether the PnL is right.

Example result

Example on a fictional trade (symbol ARB_USDT, account acct-a on Gate). Following trade-postmortem the agent pulled the position's fills and the finished conditional orders, read-only. The closing fill carried the text tag of the take-profit order, not the stop: the alert label STOP LOSS was wrong. The monitor's attribution picks the nearest known level by price and falls back to STOP LOSS, so it never saw the id of the order that filled.

Because that routine believed the stop had fired, it would also skip cancelling the other conditional: the agent found the stop order still open with no position behind it (an orphan) and reported it, with its id, for you to decide on cancelling. It did not cancel anything.

PnL: fills_pnl.py recomputed from the entry and close fills plus fees: -0.118382 USDT against the reported -0.118391; the difference of 9e-6 came from rounding of the fee in the alert, so the reported PnL is right to the precision shown, and the sign and size match a take-profit hit on a short that was priced above entry. Not verified: funding payments outside the window pulled.

Requirements

  • Read-only API keys for the exchanges involved (Binance, OKX, Bybit, Gate, Bitget)
  • Python 3 (standard library only) and bash
  • Access to your service logs and the position-closed message

How to install

Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.

Что вы получите

1 файл · 15.69 KB

  • trade-postmortem.zipZIP · 15.69 KB
ЛицензияКоммерческое использование разрешено
Проверка пакетаПройдена

Getly открыл загруженные файлы и не нашёл ничего, что помешало бы их открыть. Это не проверка на вирусы и не оценка качества.

Опубликовано3 дек. 2026 г.
Размер файла15.69 KB
Формат файлаZIP
Версияv1.0

Теги

claude codeclaude skillai agentcrypto tradingcrypto exchange
C
Claude Workflow Lab

Частые вопросы

Доступ открывается сразу?

Да. Это цифровой товар - скачать его можно сразу после оплаты, прямо из своей библиотеки.

Можно ли использовать в коммерческих проектах?

Да. Коммерческое использование разрешено: в своём бизнесе и в том, что вы продаёте. Перепродавать и распространять сам файл нельзя.

Какие условия возврата?

Запросить возврат можно в течение 30 дней. Если что-то не так, оформите заявку в своём заказе - её рассмотрит команда Getly.

Какие форматы и размеры файлов я получу?

Вы скачаете 1 файл - ZIP - всего 15.69 KB.

Обновления бесплатны?

Да - когда продавец выпускает новую версию, вы можете бесплатно скачать актуальные файлы из своей библиотеки. Последние изменения смотрите в истории версий.

Цена

$7.00