WhiteBit.Net copilot-instructions.md

WhiteBit.Net copilot-instructions.md is an instructions file for GitHub Copilot from JKorf/WhiteBit.Net. It costs 812 tokens per session, scanned A, original, MIT.

Project instructions for WhiteBit.Net, a strongly typed C#/.NET library for the WhiteBIT cryptocurrency exchange API. They explain how to use the library’s REST and WebSocket clients and handle their results.

In plain words
What is it for?
Use them when writing or reviewing WhiteBit.Net integrations, including public market data, account operations, REST calls, and WebSocket calls.
Why use it?
They prevent code from bypassing the library’s built-in request signing, rate limits, connection handling, parsing, and error reporting.

Instructions file for GitHub Copilot

Install

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.

agentmods
npx agentmods add instructions/jkorf/whitebit.net/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/JKorf/WhiteBit.Net

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for WhiteBit.Net copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jkorf/whitebit.net/copilot-instructions.svg)](https://agentmods.dev/instructions/jkorf/whitebit.net/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/jkorf/whitebit.net/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/jkorf/whitebit.net/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 812 This file is loaded in full into every session.
When invoked 812 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00812 $0.00812
Opus 5 $0.00406 $0.00406
Sonnet 5 $0.00162 $0.00162
Haiku 4.5 $0.00081 $0.00081

Measured 4d ago against content hash f690bd6a43da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

WhiteBit.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.

.github/copilot-instructions.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Copilot Instructions for WhiteBit.Net

This repository is WhiteBit.Net, a strongly typed C#/.NET client library for the WhiteBit cryptocurrency exchange API. It is part of the CryptoExchange.Net ecosystem.

When generating code that consumes WhiteBit.Net, follow these conventions.

Use WhiteBit.Net, Not Raw HTTP

Never generate raw HttpClient calls to WhiteBit REST or WebSocket endpoints. Use WhiteBitRestClient and WhiteBitSocketClient so signing, rate limiting, parsing, reconnects, and errors are handled by the library.

Client Setup

using WhiteBit.Net;
using WhiteBit.Net.Clients;

var client = new WhiteBitRestClient(options =>
{
    options.ApiCredentials = new WhiteBitCredentials("API_KEY", "API_SECRET");
});

For public market data only, credentials are not required: new WhiteBitRestClient().

Result Handling

REST methods return WebCallResult<T> or WebCallResult. WebSocket methods return CallResult<T>. Always check .Success before reading .Data; errors are on .Error.

API Structure

  • restClient.V4Api.ExchangeData: public market/system data
  • restClient.V4Api.Account: balances, deposits, withdrawals, collateral account settings, fees
  • restClient.V4Api.Trading: spot order placement, cancellation, order history, user trades
  • restClient.V4Api.CollateralTrading: collateral/futures orders, positions, OCO/conditional orders
  • restClient.V4Api.Convert: convert estimate, confirm, history
  • restClient.V4Api.Codes: WhiteBit Code operations
  • restClient.V4Api.SubAccount: sub-account operations
  • restClient.V4Api.SharedClient: shared REST interfaces
  • socketClient.V4Api: public and private WebSocket requests/subscriptions
  • socketClient.V4Api.SharedClient: shared socket interfaces

Symbols

Use WhiteBit symbol formatting: ETH_USDT for spot, ETH_PERP for perpetual collateral/futures examples. Only use normalized SharedSymbol values when working through CryptoExchange.Net.SharedApis.

WebSocket Pattern

Read the full file on GitHub · 81 lines

Changes

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.

  1. 4d ago First seen · 81 lines · 812 tokens per session scan A f690bd6a43da

Subscribe to this mod's changes

WhiteBit.Net copilot-instructions.md is an instructions file published in the GitHub repository JKorf/WhiteBit.Net (5 stars, last pushed 2d ago), licensed MIT. It adds 812 tokens to every session, about $0.0041 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-31.

Related

Other instructions, from other repositories

xt-net

Use XT.Net when generating C#/.NET code that interacts with the XT cryptocurrency exchange API, including Spot, USDT-M Futures, Coin-M Futures, REST endpoints, WebSocket subscriptions, account balances, market data, and order placement. Triggers on XT integration requests in C#, .NET, dotnet, F#, or VB.NET context.…

JKorf/XT.Net · 3,674 tokens

XT.Net copilot-instructions.md

Copilot instructions for JKorf/XT.Net, covering copilot instructions for xt.net, use xt.net, not raw http, client setup, result handling and api structure.

JKorf/XT.Net · 806 tokens

kraken-net

Use Kraken.Net when generating C#/.NET code that interacts with the Kraken cryptocurrency exchange, including Spot REST, Spot WebSocket v2, Futures REST, Futures WebSocket, account data, market data, order placement, Kraken Earn, local order books, dependency injection, or CryptoExchange.Net SharedApis. Triggers on…

JKorf/Kraken.Net · 1,872 tokens

Kraken.Net copilot-instructions.md

Instructions for JKorf/Kraken.Net, covering copilot instructions for kraken.net, use kraken.net, not raw http, client setup, result handling and api structure.

JKorf/Kraken.Net · 854 tokens

hyperliquid-net

Use HyperLiquid.Net when generating C#/.NET code that interacts with the HyperLiquid DEX REST or WebSocket API, including spot, perpetual futures, account state, staking, vault, HIP-3 DEX, HIP-4 outcomes, market data, order placement, or CryptoExchange.Net SharedApis. Triggers on requests mentioning HyperLiquid…

JKorf/HyperLiquid.Net · 2,596 tokens

HyperLiquid.Net copilot-instructions.md

Copilot instructions for JKorf/HyperLiquid.Net, covering copilot instructions for hyperliquid.net, use hyperliquid.net, not raw http, client setup, result handling and api structure.

JKorf/HyperLiquid.Net · 817 tokens