Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Crypto backtest statistics: the server owns the trial count, so it cannot be understated.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
Authorization비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.
터미널에서 이 명령어를 실행하세요
claude mcp add --transport http quant-research https://quant-mcp.avasis.ai/mcp --header 'Authorization: your-value'실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"quant-research": {
"url": "https://quant-mcp.avasis.ai/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"quant-research": {
"type": "http",
"url": "https://quant-mcp.avasis.ai/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 주소는 요청 header에 키가 필요한데, 커넥터 추가 메뉴에서는 넣을 수 없어요. 대신 Claude Code, Cursor, VS Code를 쓰세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
Authorization 비밀 필수 HTTP header이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
아직 이 서버의 도구 목록을 읽지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
게시자(avasis.ai)가 저장소 소유자(abhayjnayakk)가 아니에요. 다른 사람이 등록했을 수 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요
아직 점검하지 않았어요. 엔드포인트는 차례대로 돌아가며 점검해요
아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 0개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: Authorization
제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.2.0)은 2개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되기 때문에, 원격 MCP 서버를 지원하는 앱(예: 개발자 모드의 ChatGPT)에서도 쓸 수 있어요.
같은 카테고리에는: Context7, Codebase Memory, Exa
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Statistical tests for whether a backtest means anything.
**This library will not find you a profitable strategy. Its function is to reject
them.** Everything here exists to answer one question: given how many
configurations you tried before reporting this one, does the result survive?
pip install quant-integrity
A moving-average crossover on BTC-USD hourly bars. After sweeping parameters, the best configuration returned an annualised Sharpe of 0.95 — and a Probabilistic Sharpe of 0.86, which reads as *"probably beats zero"*.
That is where most backtests stop. Here is the same result next to the bar that 28 attempts actually sets:
The best of 28 tries is large even when every underlying edge is exactly zero. Against that bar the deflated Sharpe is 0.157. The observed result is not marginal; it is below half of what luck alone produces.
A high PSR with a low DSR is the signature of an overfit search, not a borderline edge.
The cause was visible in the trials themselves. Sorting the 28 recorded runs by trade count against Sharpe:
Every configuration that traded less looked better, at ρ = −0.96. That is not a signal being discovered — it is cost drag being measured, plus a slow moving average approximating buy-and-hold in a rising market. The search was not finding an edge. It was finding the configuration that traded least.
Reported alone, Sharpe = 0.95 implies a precision the data does not support.
git clone https://github.com/abhayjnayakk/quant-integrity
cd quant-integrity && pip install -e . python docs/make_figures.py # regenerates all three figures and prints the values
| Trials evaluated | 28 |
| Sharpe (annualised, after costs) | 0.9500 |
| Probabilistic Sharpe (PSR) | 0.8556 |
| E[max Sharpe] under the null, 28 trials | 1.8525 |
| Deflated Sharpe (DSR) | 0.1568 |
| Bootstrap 95% CI on Sharpe | [−0.93, 2.69] — straddles zero |
| Excess kurtosis | 18.61 |
| Spearman ρ(Sharpe, trades) | −0.9618 (p = 3.8e−16) |
| Minimum backtest length | 1.94 years required, 1.25 available |
The trial count is taken from the recorded runs rather than typed in. An earlier version of this page hardcoded 29 while the file recorded 28, and quoted a deflated Sharpe from one and a minimum backtest length from the other.
The figures and this table are generated by the same script from examples/btc_ma_runs.npz (24 KB, the actual return series and per-trial results). No server and no account. There is also a longer walkthrough in examples/btc_ma_postmortem.ipynb.
**On one number that is *not* in this repo.** The same specification was later
run across a basket rather than a single asset, and pooled to a Sharpe of
−1.376 over 10 assets with 3 of them positive. That result lives in the hosted
server's ledger, not in this repository — the example file here carries only the
single-asset trials, so you cannot reproduce the basket figure from it. It is
quoted here because it is the strongest part of the story, and flagged because
a number you cannot check should always be labelled as one.
| Function | Question it answers |
|---|---|
deflated_sharpe(returns, n_trials) | Does this Sharpe beat what the best of N trials produces by luck? |
probability_backtest_overfitting(matrix) | Does your selection procedure carry information at all? |
combinatorial_purged_cv(...) | Cross-validation splits with purging AND embargo |
stationary_bootstrap_ci(returns) | How wide is the interval really? |
reality_check(family, benchmark) | Is the family's best member better than the benchmark it was chosen over? |
effective_tests(matrix) | How many INDEPENDENT tests does a correlated basket give? |
min_backtest_length(n_trials, ...) | Is your sample even long enough for the search you ran? |
triple_barrier_labels(...), dollar_bars(...) | Labelling and activity-based sampling |
spec_hash(spec) | Content-addressed strategy identity |
verify_attestation(record, key) | Independently check a signed research record |
import quant_integrity as qi
out = qi.deflated_sharpe(returns, n_trials=28) print(out["dsr"], out["psr"])
n_trials means every configuration you evaluated, including the ones you discarded. Understating it produces a flattering answer. Nothing in this library can check it — which is exactly the problem the next section is about.
The statistics in this repository are AGPL-3.0 and free forever. Every method here is published academic work. There is no moat in the arithmetic and no version of this library is crippled to sell you an upgrade — a teaser would fail as a funnel and would forfeit the only thing an integrity tool has.
Hosted attestation is a paid service. Verification is public and lives here. *Issuance* is not, for the reason below. Saying this up front so nobody can later claim a rug-pull.
A trial count is only meaningful if it cannot be revised downward. But if you run your own ledger, you can edit it. Not through malice, usually — through the ordinary temptation to restart the count after a rewrite, or to not record the sweep that went nowhere. A self-attested integrity record certifies nothing, because the person attesting is the person who benefits.
Verification is public. Issuance is the service.
Anyone can check an attestation with this library and an issuer's public key. No cooperation from the issuer is required, and none of the checking code is withheld. What you cannot do is *make* one, because a signature is only worth something when the signer is not the beneficiary.
The property that does the work is not any single signature — it is the chain. verify_chain confirms that, across a sequence of attestations:
An outside party can establish all of that without ever seeing the ledger. Someone who edits their own records cannot reproduce it, because they would have to re-sign every subsequent record with a key they do not hold.
That is the whole business: not the arithmetic, which is here and free, but operating an instance that has no stake in the answer. That instance is quant.avasis.ai — an MCP server, so the research runs inside Claude, Cursor, VS Code or any MCP client, and the trial count is kept by the server rather than by the conversation.
This is a statistical instrument. Deliberately absent, and staying absent:
The library takes return series and trial counts and returns statistics about them. It does not know what you are trading and does not offer an opinion on it.
pip install quant-integrity # statistics
pip install "quant-integrity[attestation]" # + signature verification
Python 3.10+. Depends on numpy, scipy and pandas. Fully typed (py.typed).
Contributions require a CLA and a DCO sign-off — see CONTRIBUTING.md, which explains why without apology.
AGPL-3.0-or-later. See LICENSE and NOTICE.
The network-use clause is deliberate: it means a competitor cannot run a closed hosted fork of this code. It does not restrict you from using the library in your own research, hosted or otherwise, without publishing anything.