Melaya — Build AI agents for any job. Self-directed agentic platform for research, ops, reporting, and trading you run yourself, with your own exchange account and your approval on every order.

// GAMIT · QUANT

Patunayan muna ang alpha,ilabas lamang ang nakaligtas.

Kalahati ng iyong mga promising na backtest ay namamatay pagkatapos ng tatlong linggo sa paper trading, at ang post-mortem ay palaging pareho: sensitivity ng parameter na hindi sinubukan ng sinuman, gastos sa pagpapatupad na hindi kinuwenta ng sinuman, isang rehimen na hindi pinagdaanan ng estratehiya. Nagtatayo si Melaya ng pangkat ng anim na persona ng quant na nagpapatakbo ng kalidad ng signal, gastos sa pagpapatupad, laki ng posisyon, panganib, at isang pass ng skeptiko sa bawat kandidato, pagkatapos ay nagga-gawa ng memo ng deploy o pumatay na maaaring pirmahan ng iyong PM sa loob ng limang minuto.

Tingnan ang mga daloy ng proseso ↓
01
// Ano ang sira ngayon

Ang kasalukuyang kalagayan ay nagkakahalaga ng higit pa kaysa sa ahente.

Tatlong sakit na nararamdaman ng bawat koponan ng pagbebenta at BD linggu-linggo. Ang bawat isa ay kung ano talaga ang reklamo ng iyong mga kinatawan, hindi kung ano ang tatawagin ng isang pahina ng tampok.

  1. 01

    Half the strategies that ship with a 2.1 Sharpe in the backtest drop below 0.8 within six weeks of paper trading, and the post-mortem catches the same overfit every quarter.

  2. 02

    Execution cost is estimated as a flat 5 bps because nobody on the desk has time to decompose spread, impact, and adverse selection per strategy, so live P&L misses target by 30 to 60 percent.

  3. 03

    Risk reporting is a Friday-night Excel scramble: parametric VaR in one workbook, historical VaR in another, stress tests in a third, and the CRO signs off blind.

02
// Mga daloy ng proseso na maaari mong buuin

Bumuo. Aprubahan. I-replay.

Ang bawat daloy ng proseso sa ibaba ay isang hugis na wire-wired mo sa canvas gamit ang pangkat at mga kasangkapan sa ibaba. Hindi isang tampok na ipinapadala namin para sa iyo, isang pattern na iyong kino-configure.

P01

Score factor signal quality

Run IC, Sharpe with standard error, alpha-decay half-life, and parameter sensitivity on a candidate factor, applying Bonferroni or Benjamini-Hochberg correction across the tested grid. Static context holds the factor library and the desk's significance thresholds.

P02

Decompose execution cost

Take the backtest fills and decompose cost into bid-ask spread, market impact, and Glosten-Milgrom adverse selection. Scoped database tool reads tick captures only, no broker writes possible from this workflow.

P03

Size with Kelly and correlation

Compute fractional Kelly at 0.25x to 0.5x against the live book using a Ledoit-Wolf shrunk correlation matrix. HITL gate blocks the allocation change until the PM approves the size, the correlation set, and the volatility target.

P04

Stress test and set hard limits

Run parametric VaR, historical VaR, CVaR, and Cornish-Fisher tail corrections, then replay the 2008, 2020, and 2022 stress books. Cross-run memory carries circuit-breaker thresholds from the prior review so the limits do not reset each Monday.

P05

Run the skeptic and overfitting pass

Score Deflated Sharpe Ratio against the trials count, demand walk-forward validation, and refuse any single-regime backtest. The rag_retrieve tool pulls prior failed strategies so the same overfit pattern does not pass twice.

P06

Draft the deploy-or-kill memo

Synthesize the five specialist sections into a memo with an ACTION line of DEPLOY, PAPER_TRADE, BACKTEST_MORE, PAUSE, or KILL and exact recommended params. Replay captures every tool call so compliance can audit the verdict end to end.

03
// Ang pangkat

Pangkat ng kumpanya ng quant

Mga tunay na persona mula sa quant_firm na pangkat. Ang bawat isa ay may kasamang na-tune na system prompt at isang default na listahan ng mga pinahintulutang kasangkapan. Palitan ang mga modelo bawat persona sa canvas.

Quant Analyst

QuantAnalyst

Nagpapatakbo ng pagsusuri ng kalidad ng signal sa isang estratehiya: IC, Sharpe na may karaniwang mga error, sensitivity ng parameter, at pagwawasto ng Bonferroni o Benjamini-Hochberg sa lahat ng nasubok na kombinasyon.

Execution Specialist

ExecutionSpecialist

Pinagbubuo ang gastos sa pagpapatupad sa bid-ask spread, epekto sa merkado, at adverse selection, pagkatapos ay kinukuantipika ang mga kondisyon kung saan ang slippage at latency ay nag-aalis ng kalamangan.

Portfolio Manager

PortfolioManager

Sinusukat ang estratehiya gamit ang fractional Kelly at isang Ledoit-Wolf shrunk correlation matrix, pagkatapos ay nagpapasya kung ito ay makakakuha ng slot sa tabi ng live book.

Chief Risk Officer

ChiefRiskOfficer

Kinokompute ang parametric at historical VaR, CVaR, at mga pagwawasto ng buntot ng Cornish-Fisher, nagpapatakbo ng mga stress book ng 2008, 2020, at 2022, at nagtatakda ng mga hard circuit breaker.

Quant Skeptic

QuantSkeptic

Nagtatasa ng overfitting gamit ang Deflated Sharpe Ratio, tumatanggi sa anumang estratehiya na walang walk-forward validation, at naglalabas ng hatol na APPROVED, CONDITIONAL, o REJECTED na may eksaktong mga kondisyon ng kabiguan.

Report Writer

ReportWriter

Pinagbubuod ang limang seksyon ng espesyalista sa isang memo na handa para sa PM na may linya ng AKSYON na DEPLOY, PAPER_TRADE, BACKTEST_MORE, PAUSE, o KILL, at eksaktong inirerekomendang mga parameter.

04
// Mga kasangkapang may saklaw

Ang mga aksyon lamang na ibinibigay mo.

Ang bawat kasangkapan sa ibaba ay isang tunay na nakabahaging kasangkapan mula sa bundle ng Melaya. Mag-allowlist bawat ahente; ilagay ang pag-apruba ng tao sa mga pagsusulat; bawiin ang alinman sa kanila sa isang klik.

shared/tools/finance/

Kumuha ng kasaysayan ng presyo, mga teknikal na tagapagpahiwatig, mga rate ng palitan ng pera, at serye ng macro para sa pananaliksik ng factor at mga pagsubok ng rehimen na wala sa sample. Basahin lamang ang disenyo, walang posibleng pagsulat ng broker mula sa bundle na ito.

alphavantage_stock_pricealphavantage_stock_historyalphavantage_stock_indicatorsfx_ratealphavantage_macro_dataalphavantage_sector_performance
shared/tools/knowledge/

Itayo ang kaalaman ng bawat daloy ng trabaho mula sa mga detalye ng estratehiya, nakaraang mga tearsheet, post-mortem, at mga dokumento ng patakaran sa panganib. Nagpapalakas ng tatlong layer ng kaalaman na tinatawag ng QuantAnalyst at QuantSkeptic. Sumusulat sa tindahan ng daloy ng trabaho lamang, hindi kailanman sa live trading system.

build_knowledge_from_textbuild_knowledge_from_file
shared/tools/database/

Basahin ang output ng backtest, mga pagkuha ng tick, at pag-aari ng PnL mula sa iyong bodega. Ang mapaminsalang sql_execute at sqlite_execute na mga tawag ay may HITL gate at nakapatay bilang default para sa pangkat na ito.

sql_querysql_schemasql_export_csvsqlite_query
shared/tools/aiml/

Kunin ang mga talahanayan mula sa mga PDF ng pananaliksik, mga tearsheet ng vendor, at nakaraang mga pagsasampa ng panganib sa mga structured na input na maaaring i-cite ng QuantAnalyst. Walang pagsulat; nagbabasa lamang ng mga file na ituturo mo.

hf_summarizehf_text_classifypdf_to_textpdf_extract_tables
shared/tools/data_utils/

Beripikahin ang mga CSV export ng backtest, ibuod ang mga distribusyon bago pa makarating sa analyst, at i-hash ang mga file ng resulta para mapatunayan ng audit log na ang tearsheet na sinusuri ay ang parehong pinirmahan ng PM.

csv_lintdf_describejson_validatehash_file
shared/tools/msoffice/

Basahin ang mga Excel risk book na nakaharap sa PM at ilabas ang panghuling memo ng deploy o pumatay bilang Word doc na maaaring i-ingest ng compliance archive. Lahat ng pagsulat ay may HITL gate at nagla-land sa draft folder, hindi kailanman nagsosobre-write ng nakaraang bersyon.

excel_read_sheetexcel_write_dataword_createword_add_paragraphs
shared/tools/messaging/

Ihulog ang memo ng deploy o pumatay ng ReportWriter sa channel ng desk kapag naaprubahan na ng isang tao. HITL bilang default, na may parehong audit log gaya ng bawat ibang pagsulat.

discord_send_messagetelegram_send_message
05
// Tatlong antas ng kaalaman

Nababasa ng pangkat ang ibinibigay mo.

Ang bawat daloy ng proseso ay may kasamang tatlong antas ng access sa kaalaman. Paghaluin at itugma bawat ahente sa canvas. Walang nakabahaging vector space sa ibang nangungupahan, walang sorpresang pagbabasa, walang malabong pagkuha.

L1

Static na konteksto

includeContext

Mga dokumento bawat daloy ng proseso na idinaragdag sa input ng mga tiyak na ahente sa bawat takbo. Ang brief ng ICP, playbook, listahan ng presyo, o corpus ng mga nagwaging email. Anumang kailangang naroroon bago mag-isip ang ahente. Pinipili mo kung aling mga persona ang makakatanggap ng kung aling mga dokumento.

L2

Kasangkapan ng RAG retrieval

rag_retrieve

Isang kasangkapan na may saklaw na ibinibigay bawat ahente. Kapag nagpasya ang ahente na kailangan nito ng higit na lalim, ine-query nito ang vector store ng daloy ng trabaho nang on demand. Parehong base ng kaalaman gaya ng Static na konteksto, na ina-access lamang kapag humingi ang modelo.

L3

Cross-run na alaala

pipeline_memory

Estado sa antas ng daloy ng proseso na nagdadala mula sa isang takbo patungo sa susunod. Ang pananaliksik kahapon ay nasa saklaw para sa follow-up ngayon. Naaalala ng pangkat kung ano na ang na-prospect nito, kung ano ang naaprubahan, kung ano ang naipadala. Ang audit log ang pangalawang antas na base ng kaalaman.

07
// FAQ

Mga tanong na natatanggap namin linggu-linggo.

Will agents place live orders on their own?

No. The quant crew ships with HITL on every order, allocation change, and risk-limit edit. The agents research, backtest, score, and draft the deploy memo. A human PM presses the button on capital.

Can the agents reason over our backtests and tick data?

Three ways. Static context attaches the strategy spec, factor definitions, and risk policy to specific personas on every run. The rag_retrieve tool lets QuantAnalyst and QuantSkeptic pull from backtest logs, past tearsheets, and prior post-mortems on demand. Cross-run memory keeps yesterday's walk-forward results in scope for today's regime test.

Is this a QuantConnect or WorldQuant alternative?

No, it sits next to them. QuantConnect runs your backtest engine. WorldQuant hosts the factor competition. Melaya is the research-and-review layer that scores the signal, sizes the position, and stages the deploy memo. Your backtester stays your backtester.

How do we keep the analysis from sounding like a generic AI tearsheet?

Every metric cites its sample size and time window. QuantAnalyst reports Sharpe with its standard error, QuantSkeptic reports the Deflated Sharpe with the trials count, and ReportWriter refuses to soften a REJECTED verdict. Reviewers can require a citation on every claim as a HITL pre-check.

Which models can we run this crew on?

Any. Claude on QuantSkeptic where adversarial reasoning earns the cost, GPT on the ReportWriter, and a local Ollama on the QuantAnalyst when the strategy spec and tick data must stay inside your VPC. Each agent picks its own.

How fast can a quant team get the first review pipeline running?

With your backtest output sitting in S3 or a SQL warehouse, the signal-quality-to-deploy-memo workflow is a 4-node canvas: ingest results, run QuantAnalyst plus QuantSkeptic, gate on the verdict, draft the memo. Most desks ship it in a working session and review the first strategy the same day.

How does this handle regime change and walk-forward validation?

QuantSkeptic refuses any strategy without walk-forward validation and at least one out-of-sample regime. The CRO persona runs the 2008, 2020, and 2022 stress books on the proposed allocation. If either fails, ReportWriter cannot output a DEPLOY action by design.

Can I audit exactly what the agent did and why?

Every run logs every step, every tool call, every model invocation, and every approval decision. Replay any run at any time. The audit log is the risk log, and it ships with the deploy memo into your compliance archive.

Can we restrict which agents can write to our broker or risk system?

Yes. Tool scoping is per-agent. The QuantSkeptic and QuantAnalyst run read-only against backtest stores. Only the PortfolioManager can stage an allocation change, and that change is HITL-gated by default. The CRO is the only persona allowed to edit circuit-breaker thresholds.

Bumuo ng mga daloy ng proseso na mga pangkat ng quant research at trading sa Melaya.

Ang antas na Sandbox ay libre at walang kard. Sumali sa listahan ng paghihintay at magpapadala kami ng email sa iyo sa sandaling magbukas ang isang slot.

← Bumalik sa lahat ng gamit
Sumali sa komunidad