Developer Tools
bagtester.com
Provides APIs for submitting and retrieving financial backtest jobs, listing available data, and sampling historical price data.
ENDPOINT 1
https://bagtester.com/api/mcp
Known tools 31
submit_strategySubmit a single Python backtest.
get_backtest_resultsRetrieve backtest results by job_id.
list_my_jobsList your recent backtest jobs (most recent first).
list_available_dataList asset universes and timeframes available for backtesting, with tier and mode metadata so an agent can choose.
get_data_sampleFetch the last N OHLCV bars from the data lake for a given symbol+timeframe.
optimize_strategyQUANT TIER.
walk_forwardQUANT TIER.
improve_strategyRe-run a previous backtest with a structured improvement.
search_backtestsSearch your historical backtests by symbol, mode, date range, tags, experiment, or status.
list_experimentsList your experiment groups.
get_experimentFetch an experiment with its child runs.
compare_backtestsSide-by-side comparison of N backtests (2-10).
create_experimentManually group existing jobs into a named experiment.
manage_subscriptionView the current subscription plan, credit balance, recent invoices, and get a Stripe customer-portal URL for upgrade / downgrade / change payment method / cancel — all without leaving the agent.
purchase_topupPurchase a credit top-up pack using the user's saved Stripe payment method (off-session charge).
set_agent_capChange the user's monthly agent_purchase_cap (in USD).
list_strategy_templatesReturn a curated catalog of canonical strategy templates the agent can copy-paste into `submit_strategy`.
report_issueFile a support ticket on behalf of the user.
get_support_ticketFetch a support ticket by ticket_id (own tickets only).
share_backtestMake a completed backtest publicly viewable at https://bagtester.com/r/<token>, or revoke an existing share.
submit_reviewSubmit a review of Bagtester on the user's behalf.
admin_list_ticketsADMIN-ONLY.
admin_get_ticketADMIN-ONLY.
admin_update_ticketADMIN-ONLY.
polymarket_submit_botPREDICTION MARKETS (Polymarket): Backtest a Polymarket bot strategy across resolved markets.
polymarket_get_resultsPREDICTION MARKETS (Polymarket): Fetch a completed `pm_v1.0` backtest result by `job_id`.
polymarket_list_my_runsPREDICTION MARKETS (Polymarket): List the caller's recent PM backtest jobs, newest first.
polymarket_list_marketsPREDICTION MARKETS (Polymarket): Read-only market discovery.
polymarket_get_marketPREDICTION MARKETS (Polymarket): Fetch metadata for a single resolved market by condition_id.
polymarket_compare_botsPREDICTION MARKETS (Polymarket): Compare 2-10 completed Polymarket backtests side-by-side.
polymarket_list_strategy_templatesPREDICTION MARKETS (Polymarket): Returns a curated catalog of strategy templates for backtesting Polymarket bots.