tres-asc845-swap-reprice-skill

Reprice swap inflow legs under ASC 845 to zero the clearing account.

Updated Jun 16, 2026
One-click install
npx skills add https://github.com/Tres-Finance-Public/tres-finance --skill tres-asc845-swap-reprice-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tres-asc845-swap-reprice-skill
Source: https://github.com/Tres-Finance-Public/tres-finance/tree/main/.claude/skills/tres-plugin-release
Command: npx skills add https://github.com/Tres-Finance-Public/tres-finance --skill tres-asc845-swap-reprice-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, mcpclient, and includes scripts (resource) components.

What problem does it solve?

The skill resolves clearing account zero-out for ASC 845 swaps, ensuring accounting balance correctness.

Core Features & Use Cases

  • Swap Repricing: Adjusts inflow legs of swaps under ASC 845 for zero-clearing account balance.
  • Subtransaction Queries: Retrieves subtransactions via MCP for accurate repricing.
  • Script Execution: Utilizes Python scripts for planning and user confirmation.
  • Manual Value Adjustment: Applies setManualFiatValue for accurate representation.

Quick Start

Use the 'reprice swaps for zero balance under ASC 845' skill on a specific swap to reprice inflow legs for clearing account zero-out.

Frequently Asked Questions about tres-asc845-swap-reprice-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reprice ASC 845 swap inflow legs to clear my account balance to zero?

To reprice ASC 845 swap inflow legs for zero clearing account balance, the skill queries subtransactions via MCP and executes Python scripts to adjust manual fiat values automatically.

What is ASC 845 swap repricing and why is it needed for clearing accounts?

ASC 845 swap repricing adjusts inflow legs to ensure accounting balance correctness, resolving clearing account zero-out requirements for non-monetary exchanges under ASC 845 standards.

How do Python scripts handle swap repricing and user confirmation for ASC 845?

Python scripts handle swap repricing by retrieving subtransactions via MCP, planning adjustments, executing user confirmation steps, and applying setManualFiatValue for accurate representation.

Does this swap repricing solution require MCP for subtransaction queries?

Yes, swap repricing requires MCP to retrieve subtransactions accurately, utilizing the mcpclient dependency alongside pandas and numpy to execute planning and confirmation scripts.

What's the best way to set manual fiat value for ASC 845 swap accounting?

The best way to set manual fiat value for ASC 845 swaps is using the setManualFiatValue function within Python scripts, ensuring inflow legs reprice to clear the account to zero.