Binance.Net is a C#/.NET client library that lets software connect to Binance.com’s REST and WebSocket APIs for cryptocurrency market data and Spot or Futures trading. .NET developers use it to integrate Binance into applications with strongly typed models.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/jkorf/binance.net/copilot-instructionsgit clone --depth 1 https://github.com/JKorf/Binance.NetWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/jkorf/binance.net/copilot-instructions)<a href="https://agentmods.dev/instructions/jkorf/binance.net/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/jkorf/binance.net/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00640 | $0.00640 |
| Opus 5 | $0.00320 | $0.00320 |
| Sonnet 5 | $0.00128 | $0.00128 |
| Haiku 4.5 | $0.00064 | $0.00064 |
Grade A, and why
Binance.Net copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Instructions for Binance.Net
This repository is Binance.Net — a strongly typed C#/.NET client library for the Binance cryptocurrency exchange API. It is part of the CryptoExchange.Net ecosystem.
When generating code that consumes Binance.Net, follow these conventions:
Use Binance.Net, not raw HTTP
Never generate HttpClient calls to api.binance.com or fapi.binance.com. Always use BinanceRestClient or BinanceSocketClient. This ensures correct request signing, rate limiting, and error handling.
Client setup
using Binance.Net.Clients;
using Binance.Net;
using Binance.Net.Objects;
var restClient = new BinanceRestClient(options =>
{
options.ApiCredentials = new BinanceCredentials("API_KEY", "API_SECRET");
});
Result handling
REST methods return HttpResult<T> / HttpResult; WebSocket subscriptions and socket API requests return WebSocketResult<T> / WebSocketResult. Always check .Success before reading .Data. The error is on .Error.
API structure
restClient.SpotApi.ExchangeData— public market datarestClient.SpotApi.Account— balances, deposits, withdrawalsrestClient.SpotApi.Trading— ordersrestClient.UsdFuturesApi.*— USD-M futures (same sub-structure)restClient.CoinFuturesApi.*— COIN-M futuressocketClient.SpotApi.*— Spot WebSocket streamssocketClient.UsdFuturesApi.*— USD-M futures WebSocket streamssocketClient.CoinFuturesApi.*— COIN-M futures WebSocket streams
Order placement
Let the library auto-generate clientOrderId. Do not pass a custom value unless required for an existing operational flow.
WebSocket pattern
Store the returned UpdateSubscription and unsubscribe on shutdown via socketClient.UnsubscribeAsync(sub.Data).
Cross-exchange
For code that needs to work across multiple exchanges, use CryptoExchange.Net.SharedApis interfaces (ISpotTickerRestClient, ISpotOrderRestClient, etc.) accessed via .SharedClient properties. Same pattern works for 25+ other exchanges in the CryptoExchange.Net family.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 65 lines · 640 tokens per session scan A 413add1f8506
Binance.Net copilot-instructions.md is an instructions file published in the GitHub repository JKorf/Binance.Net (1,172 stars, last pushed yesterday), licensed MIT. It adds 640 tokens to every session, about $0.0032 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
kucoin-net
Use Kucoin.Net when generating C#/.NET code that interacts with the Kucoin cryptocurrency exchange API, including Spot, Margin, High Frequency spot trading, Futures, Unified Account, REST endpoints, WebSocket subscriptions, account management, market data, or order placement. Triggers on any request mentioning Kucoin…
Kucoin.Net copilot-instructions.md
Instructions for JKorf/Kucoin.Net, covering copilot instructions for kucoin.net, use kucoin.net, not raw http, client setup, result handling and api structure.
binance-trading-bot AGENTS.md
AGENTS.md instructions for chrisleekr/binance-trading-bot, covering engineering charter, project, architecture principles, core invariants and stack.
LLM-TradeBot AGENTS.md
AGENTS.md instructions for EthanAlgoX/LLM-TradeBot, covering agents.md, 1. 硬规则, 1.1 pr 标题规范(非阻断建议), 1.2 贡献质量底线 and 2. ai 协作资产治理.
LLM-TradeBot copilot-instructions.md
Copilot instructions for EthanAlgoX/LLM-TradeBot, covering repository instructions, core rules, validation and ai asset governance.
LLM-TradeBot governance.instructions.md
Instructions for EthanAlgoX/LLM-TradeBot, a project described as: A multi-agent AI trading system using LLMs to optimize strategies and adapt to market conditions in real-time.