About Jesse
Jesse is an MCP server published by jesse-ai in the Blockchain category: an advanced trading bot written in Python. Conduid read 98 tools from its source: browse_strategy_catalog, cancel_analysis_job, cancel_backtest, cancel_candle_import, cancel_monte_carlo, cancel_optimization and 92 more. No package is published for it, so it installs from a source checkout.
The repository has 8.9K stars and 1.3K forks, is licensed MIT, and its last commit was on 30 Nov 2026. The latest release is v3.7.0. It follows v3.6.1, and the 5 most recent releases go back to v3.5.3. It passes 3 of the 4 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include algo-trading, algorithmic-trading, bitcoin, bot, crypto and crypto-bot.
Install
git clone https://github.com/jesse-ai/jesseTools (98)
browse_strategy_catalogBrowse the jesse.trade strategy catalog: community strategies published online, ranked| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| period | string | |
| query | string | |
| sort_by | string | |
| strategy_type | string | |
| submitted_after | string | |
| submitted_before | string |
cancel_analysis_jobStop a running analysis job and every process it started (SIGTERM, then SIGKILL after| Parameter | Type | Description |
|---|---|---|
| job_id * | string |
cancel_backtestCancel a currently running backtest process.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | UUID string of the running backtest session to cancel Shape: UUID format string (e.g., "550e8400-e29b-41d4-a716-446655440000") |
cancel_candle_importCancel a running candle import (the dashboard's Cancel button).| Parameter | Type | Description |
|---|---|---|
| import_id * | string |
cancel_monte_carloCooperatively cancel a running Monte Carlo session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
cancel_optimizationCooperatively cancel a running optimization. The worker stops at the next| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
cancel_research_jobStop a running research job and every process it started.| Parameter | Type | Description |
|---|---|---|
| job_id * | string |
clean_and_import_custom_candle_csvClean a CSV and import it atomically as `Custom Data / SYMBOL / 1m`.| Parameter | Type | Description |
|---|---|---|
| close_column | string | |
| file_path | string | |
| high_column | string | |
| invalid_row_policy * | string | |
| low_column | string | |
| open_column | string | |
| project_path | string | |
| symbol * | string | |
| timestamp_column | string | |
| timestamp_format | string | |
| volume_column | string |
clear_candle_cacheDelete Jesse's on-disk cache of candles loaded for backtests and research runs.copy_candlesDuplicate stored candles under another exchange name (and optionally another symbol).| Parameter | Type | Description |
|---|---|---|
| delete_source | boolean | |
| exchange * | string | |
| symbol * | string | |
| target_exchange * | string | |
| target_symbol | string |
copy_live_sessionCreate a new draft with the same mode, exchange, key, routes, and settings as a session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | |
| title | string |
copy_project_pathCopy a file or folder within or between strategies/ and research_scripts/.| Parameter | Type | Description |
|---|---|---|
| destination * | string | |
| overwrite | boolean | |
| source * | string |
create_backtest_draftCreate a new backtest draft session with specified parameters.| Parameter | Type | Description |
|---|---|---|
| balance | number | |
| benchmark | boolean | Run benchmark comparison against buy-and-hold strategy |
| change_summary | string | What changed before this backtest, if MCP edited a strategy. |
| config_overrides | any | |
| data_routes | string | JSON string array of data route objects for additional data feeds. Each data route contains exchange, symbol, and timeframe fields. Shape: Array of objects with fields: exchange, symbol, timeframe |
| debug_mode | boolean | Enable detailed debug logging during backtest execution |
| description | string | Note description explaining the session purpose. If omitted, Jesse MCP generates a short markdown summary. |
| exchange | string | Exchange name for backtesting. Supported exchanges include: - "Binance Perpetual Futures" (default) - "Bybit USDT Perpetual" - "Bybit USDC Perpetual" - "Gate USDT Perpetual" - "Binance Spot" - "Bybit Spot" - "Coinbase Spot" - "Bitfinex Spot" |
| export_chart | boolean | Export chart data for visualization |
| export_csv | boolean | Export backtest results as CSV file |
| export_json | boolean | Export backtest results as JSON file |
| export_pdf | boolean | |
| fast_mode | boolean | Enable fast mode for quicker execution (reduced precision). Defaults to True. The agent may set it False for a full-precision run. |
| fee | number | |
| finish_date | string | Backtest end date in YYYY-MM-DD format |
| leverage | integer | |
| leverage_mode | string | |
| rationale | string | Why the MCP made the change or ran this test. |
| routes | string | JSON string array of route configuration objects. Each route defines: - exchange: Exchange name (must match the main exchange parameter) - strategy: Strategy class name (e.g., "MyStrategy") - symbol: Trading pair (e.g., "BTC-USDT") - timeframe: Candle timeframe (e.g., "1h", "4h", "1D") Shape: Array of objects with required fields: exchange, strategy, symbol, timeframe |
| start_date | string | Backtest start date in YYYY-MM-DD format |
| strategy_summary | string | One-sentence summary of the strategy being tested. |
| title | string | Human-readable note title for this MCP-created session. If omitted, Jesse MCP generates one from the first route. |
| warm_up_candles | integer |
create_live_draftCreate a live or paper trading session draft (a new dashboard Live tab); nothing starts.| Parameter | Type | Description |
|---|---|---|
| config | any | |
| data_routes | any | |
| debug_mode | boolean | |
| description | string | |
| exchange | string | |
| exchange_api_key_id | any | |
| notification_api_key_id | any | |
| paper_mode | any | |
| routes | any | |
| title | string |
create_monte_carlo_draftCreate a new Monte Carlo simulation draft session.| Parameter | Type | Description |
|---|---|---|
| balance | number | |
| config_overrides | any | |
| cpu_cores | integer | |
| data_routes | string | JSON string array (default "[]"). |
| description | string | |
| exchange | string | Exchange name (default "Binance Perpetual Futures"). |
| fast_mode | boolean | |
| fee | number | |
| finish_date | string | |
| hypothesis | string | |
| leverage | integer | |
| leverage_mode | string | |
| num_scenarios | integer | |
| pipeline_params | string | |
| pipeline_type | string | |
| rationale | string | |
| routes | string | JSON string array of route objects: [{"exchange": "...", "strategy": "...", "symbol": "...", "timeframe": "..."}] |
| run_candles | boolean | |
| run_trades | boolean | |
| start_date | string | |
| strategy_summary | string | |
| title | string | |
| warm_up_candles | integer |
create_optimization_draftCreate a new hyperparameter Optimization draft session.| Parameter | Type | Description |
|---|---|---|
| balance | number | |
| best_candidates_count | integer | |
| config_overrides | any | |
| cpu_cores | integer | |
| data_routes | string | JSON string array (default "[]"). |
| description | string | |
| exchange | string | Exchange name (default "Binance Perpetual Futures"). |
| fast_mode | boolean | |
| fee | number | |
| hypothesis | string | |
| leverage | integer | |
| leverage_mode | string | |
| objective_function | string | |
| optimal_total | integer | |
| rationale | string | |
| routes | string | JSON string array with the trading route(s): [{"exchange": "...", "strategy": "...", "symbol": "...", "timeframe": "..."}] |
| strategy_summary | string | |
| testing_finish_date | string | |
| testing_start_date | string | |
| title | string | |
| training_finish_date | string | |
| training_start_date | string | |
| trials | integer | |
| warm_up_candles | integer |
create_project_directoryCreate a folder (and missing parents) in strategies/ or research_scripts/ on the| Parameter | Type | Description |
|---|---|---|
| path * | string |
create_strategyCreate a new trading strategy with custom content in Jesse.| Parameter | Type | Description |
|---|---|---|
| content * | string | Complete Python code for the strategy implementation Must include proper imports, class definition, and all required methods Must be valid Python syntax following Jesse Strategy structure Shape: Multi-line string containing complete strategy code |
| name * | string | Name for the new strategy class and file Requirements: Valid Python identifier, no spaces, unique within Jesse Examples: "MyStrategy", "RSIStrategy", "MeanReversionStrategy" Shape: String matching Python class naming conventions |
delete_analysis_jobDelete a finished analysis job's workspace (snapshots, code, output) now instead of| Parameter | Type | Description |
|---|---|---|
| job_id * | string |
delete_candlesPermanently delete every stored candle of one exchange/symbol pair.| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| symbol * | string |
delete_data_provider_credentialsRemove a data provider's stored API key (default provider: "Massive"; "FMP" for FMP).| Parameter | Type | Description |
|---|---|---|
| provider_id | any |
delete_exchange_api_keyDelete one stored exchange API key by the `id` (required) from get_exchange_api_keys().| Parameter | Type | Description |
|---|---|---|
| id | any |
delete_live_sessionPermanently delete a stored live or paper session record (history or draft).| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
delete_project_pathDelete a file, symlink, or folder in strategies/ or research_scripts/, including a| Parameter | Type | Description |
|---|---|---|
| path * | string | |
| recursive | boolean |
export_backtest_reportWrite the PDF report of a finished backtest into the Jesse project.| Parameter | Type | Description |
|---|---|---|
| overwrite | boolean | Replace an existing file. Defaults to False. |
| path | string | Project-relative .pdf path under research_scripts/ (default research_scripts/backtest_reports/<name>.pdf). |
| session_id * | string | UUID string of the finished backtest session. |
export_candlesWrite a stored candle series as CSV into the Jesse project's research_scripts/ folder.| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| overwrite | boolean | |
| path | string | |
| symbol * | string |
get_analysis_artifactReturn one file from an analysis job's output folder. PNG, JPEG, GIF, and WebP images| Parameter | Type | Description |
|---|---|---|
| job_id * | string | From run_analysis. |
| path * | string | Path inside output/, e.g. "equity.png" or "charts/drawdown.png" (a leading "output/" is accepted). Symlinks and paths outside output/ are refused. |
get_analysis_jobReturn an analysis job's status, its artifacts, and the end of its console output,| Parameter | Type | Description |
|---|---|---|
| job_id | string | From run_analysis. |
| tail_lines | integer | 1-2000 lines of stdout/stderr, default 50. |
get_backtest_configRetrieve backtest-specific configuration settings.get_backtest_sessionRetrieve detailed information about a specific backtest session by ID.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | UUID string of the backtest session to retrieve Shape: UUID format string (e.g., "550e8400-e29b-41d4-a716-446655440000") |
get_backtest_sessionsRetrieve a paginated list of backtest sessions with optional filtering.| Parameter | Type | Description |
|---|---|---|
| date_filter | string | Filter sessions by creation/update date Valid values: "today", "this_week", "this_month", "this_year" Shape: String or None |
| limit | integer | Maximum number of sessions to return per page Range: 1-1000, Default: 50 Shape: Positive integer |
| offset | integer | Number of sessions to skip for pagination (zero-based) Default: 0 Shape: Non-negative integer |
| status_filter | string | Filter sessions by execution status Valid values: "finished", "running", "cancelled", "pending", "failed" Shape: String or None |
| title_search | string | Text search filter for session titles Performs case-insensitive substring matching Shape: String or None |
get_candle_import_statusCheck a candle import started with import_candles.| Parameter | Type | Description |
|---|---|---|
| import_id * | string |
get_candlesReturn the stored candles the dashboard's live chart starts from.| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| limit | integer | |
| symbol * | string | |
| timeframe * | string |
get_catalog_strategy_metricsGet jesse.trade's backtest metrics for one catalog strategy on a specific symbol,| Parameter | Type | Description |
|---|---|---|
| period * | string | A value from browse_strategy_catalog's available_filters.periods. |
| slug * | string | Catalog slug from browse_strategy_catalog, e.g. "trend-rider". |
| symbol * | string | One of the strategy's backtest_symbols, e.g. "ETH-USDT". |
| timeframe * | string | One of the strategy's backtest_timeframes, e.g. "1h". |
get_configRetrieve the complete Jesse configuration from the database.get_data_provider_credentialsList the supported historical data providers and which have an API key stored.get_exchange_api_key_requirementsList the live-trading exchanges that accept API keys and the fields each one needs.| Parameter | Type | Description |
|---|---|---|
| exchange | any |
get_exchange_api_keysList the exchange API keys stored for Jesse Live as metadata only.get_existing_candlesList stored candles: one entry per exchange and symbol (the Manage Candles table).| Parameter | Type | Description |
|---|---|---|
| availability | string | |
| exchange | string | |
| limit | integer | |
| offset | integer | |
| symbol | string |
get_indicator_detailsRetrieve comprehensive documentation for a specific technical indicator.| Parameter | Type | Description |
|---|---|---|
| indicator_name * | string | Exact name of the indicator as returned by list_indicators() Examples: "rsi", "macd", "sma", "bollinger_bands", "stoch", "atr" Shape: String matching available indicator names exactly |
get_jesse_statusget_live_configRetrieve live trading configuration settings.get_live_sessionsList live and paper trading sessions, most recently updated first (drafts excluded),| Parameter | Type | Description |
|---|---|---|
| limit | integer | 1-100, default 20. |
| mode_filter | string | "livetrade" or "papertrade". |
| offset | integer | Sessions to skip; continue from `next_offset`. |
| status_filter | string | e.g. "running" or "stopped". |
| title_search | string | Case-insensitive title filter. |
get_monte_carlo_equity_curvesFetch equity curve data for a finished Monte Carlo session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
get_monte_carlo_logsFetch the raw log file content for a Monte Carlo session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
get_monte_carlo_sessionFetch full details of a Monte Carlo session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
get_monte_carlo_sessionsList Monte Carlo sessions (most recent first).| Parameter | Type | Description |
|---|---|---|
| date_filter | string | One of "7_days", "30_days", "90_days". |
| limit | integer | Max sessions to return (default 50). |
| offset | integer | Pagination offset (default 0). |
| status_filter | string | One of "draft", "running", "finished", "stopped", "terminated". |
| title_search | string | Case-insensitive substring on title. |
get_optimization_configRetrieve hyperparameter optimization configuration settings.get_optimization_logsFetch the raw log file content for an optimization session. Useful for| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
get_optimization_sessionFetch full details of an optimization session. To wait for a run, use| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
get_optimization_sessionsList optimization sessions (most recent first), with pagination/filtering.| Parameter | Type | Description |
|---|---|---|
| date_filter | string | |
| limit | integer | |
| offset | integer | |
| status_filter | string | |
| title_search | string |
get_research_job_outputReturn the last lines of a research job's combined stdout and stderr.| Parameter | Type | Description |
|---|---|---|
| job_id * | string | |
| tail_lines | integer |
get_research_job_statusReturn a research job's status, or the 20 newest jobs when job_id is empty.| Parameter | Type | Description |
|---|---|---|
| job_id | string |
get_session_resultsRead the stored results of a session in bounded pieces. Read-only: never starts,| Parameter | Type | Description |
|---|---|---|
| limit | integer | 1-500 items per page, default 50. Pages also stop at 128 KiB of JSON; continue from `next_offset`. For equity curves, items are points of each series. |
| offset | integer | Items to skip. For logs it counts back from the newest line. |
| section | string | "summary" (default) or, per type: backtest: "trades", "equity_curve", "hyperparameters", "logs" optimization: "best_trials" (best first, with training/testing metrics), "objective_curve", "logs" monte_carlo: "confidence_analysis", "scenario_metrics" (original + each scenario), "equity_curves" (Portfolio curve per scenario), "logs" significance_test: summary only live: "closed_trades", "orders", "equity_curve" (minute snapshots), "logs" (info), "error_logs" |
| session_id * | string | The session UUID (from the list tools or the run tools). |
| session_type * | string | "backtest", "optimization", "monte_carlo", "significance_test", or "live" (live and paper trading sessions). |
greet_user| Parameter | Type | Description |
|---|---|---|
| name * | string |
import_candlesStart a background candle import and return as soon as Jesse accepts it.| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| import_id | string | |
| start_date * | string | |
| symbol * | string |
import_catalog_strategyImport one jesse.trade catalog strategy into this Jesse project as a local strategy,| Parameter | Type | Description |
|---|---|---|
| slug * | string | Catalog slug from browse_strategy_catalog, e.g. "trend-rider". Import only strategies whose code_available is true; otherwise the account cannot access the code. |
list_indicatorsRetrieve a complete list of all technical indicators available in Jesse.list_project_filesList files and folders in the Jesse project's strategies/ or research_scripts/ folder.| Parameter | Type | Description |
|---|---|---|
| max_entries | integer | 1-1000, default 200. `truncated` is true when more exist; list a narrower folder instead of paging. |
| path | string | Folder to list, e.g. "research_scripts" or "strategies/MyStrategy". |
| recursive | boolean | Also list sub-folders. Default False. |
list_runnersList this Jesse's research runners: other machines that share its database and run queuedmove_project_pathMove or rename a file or folder within or between strategies/ and research_scripts/,| Parameter | Type | Description |
|---|---|---|
| destination * | string | |
| overwrite | boolean | |
| source * | string |
my_tool| Parameter | Type | Description |
|---|---|---|
| param * | string |
preview_custom_candle_csvPreview how a one-minute candle CSV would be cleaned and imported as Custom Data.| Parameter | Type | Description |
|---|---|---|
| close_column | string | |
| file_path | string | |
| high_column | string | |
| low_column | string | |
| open_column | string | |
| project_path | string | |
| symbol * | string | |
| timestamp_column | string | |
| timestamp_format | string | |
| volume_column | string |
purge_backtest_sessionsPermanently delete old backtest sessions from the database.| Parameter | Type | Description |
|---|---|---|
| days_old | integer | Age threshold in days for selective deletion - If specified: Only sessions older than this many days are deleted - If None (default): All sessions in database are deleted Range: 1-3650 (1 day to 10 years) Shape: Positive integer or None |
purge_candlesPermanently delete every stored candle of whole exchanges (all their symbols).| Parameter | Type | Description |
|---|---|---|
| exchanges * | array |
purge_monte_carlo_sessionsPermanently delete Monte Carlo sessions.| Parameter | Type | Description |
|---|---|---|
| days_old | integer | If set, only sessions older than this many days are deleted. If None, ALL sessions are deleted (irreversible). |
purge_optimization_sessionsPermanently delete optimization sessions. If days_old is given, only delete| Parameter | Type | Description |
|---|---|---|
| days_old | integer |
read_project_fileRead a text file from strategies/ or research_scripts/ in the Jesse project.| Parameter | Type | Description |
|---|---|---|
| max_lines | integer | |
| path * | string | |
| start_line | integer |
read_strategyRetrieve the complete source code of a Jesse trading strategy.| Parameter | Type | Description |
|---|---|---|
| name * | string | Exact name of the strategy to read (case-sensitive) Must match the class name and filename exactly Examples: "MyStrategy", "RSIStrategy" Shape: String matching existing strategy name |
rerun_optimizationReset and restart an existing optimization session, clearing its prior| Parameter | Type | Description |
|---|---|---|
| session_id * | string | |
| where | string | Which machine runs it. "auto" (default): a free research runner when this Jesse has runners turned on, else here; "local": here; "any": queue it for any runner; or a runner name from list_runners. Leave the default unless the user wants a specific machine. A queued run returns status "queued" (with target, job_id, warning?) and shows outcome "queued" in wait_for_sessions until a runner picks it up. |
restart_live_sessionRun a stopped, crashed, failed or finished live/paper session again with its exact settings.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | |
| title | string |
resume_monte_carloResume a previously stopped or interrupted Monte Carlo session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | |
| where | string | Which machine runs it. "auto" (default): a free research runner when this Jesse has runners turned on, else here; "local": here; "any": queue it for any runner; or a runner name from list_runners. Leave the default unless the user wants a specific machine. A queued run returns status "queued" (with target, job_id, warning?) and shows outcome "queued" in wait_for_sessions until a runner picks it up. |
run_analysisRun Python that analyzes stored session results, in a temporary workspace on the| Parameter | Type | Description |
|---|---|---|
| code * | string | Complete Python source, at most 256 KiB. |
| inputs | array | Up to 10, each either - a session: {"session_type", "session_id", "name"}, session_type "backtest", "optimization", "monte_carlo", "significance_test", or "live"; name defaults to "<session_type>_<first 8 id characters>"; or - live/paper history across sessions: {"dataset": "live_trades" or "live_orders", "name", plus the window and filters of get_live_trades / get_live_orders: "recent_days" or "start"/"end", "mode" (default "live"), "exchange", "symbol", "session_id", and for orders "time_field", "status"}; name defaults to the dataset. The snapshot holds EVERY matching record (oldest first), read from one consistent database view per input, or the run is refused ("too_many_records": over 100,000 records; "too_many_orders": a trade with over 10,000 executed orders; narrow the window); it is never cut. Unknown fields are refused. The window is resolved once and the manifest records its exact range, filters, and count. Names use letters, digits, "_", "-". Snapshots are capped at 64 MiB each and 256 MiB together. Every snapshot is complete or the run is refused: a live session with more than 100,000 trades, 200,000 orders, or 600,000 equity points is refused with "too_many_records" (use dataset inputs by date). |
| timeout_minutes | integer | 1-30, default 5. |
run_backtestTrigger a backtest and return immediately.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | UUID string of the backtest session to execute Shape: UUID format string (e.g., "550e8400-e29b-41d4-a716-446655440000") |
| where | string | Which machine runs it. "auto" (default): a free research runner when this Jesse has runners turned on, else here; "local": here; "any": queue it for any runner; or a runner name from list_runners. Leave the default unless the user wants a specific machine. A queued run returns status "queued" (with target, job_id, warning?) and shows outcome "queued" in wait_for_sessions until a runner picks it up. |
run_monte_carloFire a Monte Carlo simulation for a previously created draft and return immediately.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | |
| where | string | Which machine runs it. "auto" (default): a free research runner when this Jesse has runners turned on, else here; "local": here; "any": queue it for any runner; or a runner name from list_runners. Leave the default unless the user wants a specific machine. A queued run returns status "queued" (with target, job_id, warning?) and shows outcome "queued" in wait_for_sessions until a runner picks it up. |
run_optimizationStart a previously created optimization draft and return immediately.| Parameter | Type | Description |
|---|---|---|
| session_id * | string | |
| where | string | Which machine runs it. "auto" (default): a free research runner when this Jesse has runners turned on, else here; "local": here; "any": queue it for any runner; or a runner name from list_runners. Leave the default unless the user wants a specific machine. A queued run returns status "queued" (with target, job_id, warning?) and shows outcome "queued" in wait_for_sessions until a runner picks it up. |
run_research_scriptRun a Python script from research_scripts/ in the background on the machine running Jesse.| Parameter | Type | Description |
|---|---|---|
| args | array | Optional arguments, at most 64, each up to 4096 characters. |
| path * | string | A .py file inside research_scripts/, e.g. "research_scripts/ml/train.py". |
| timeout_minutes | integer | 1-720, default 60. The job and every process it started are stopped at the deadline (status "timed_out"). |
save_strategy_reportSave a Markdown research report for a strategy in the Jesse project.| Parameter | Type | Description |
|---|---|---|
| content * | string | Complete Markdown text of the report. Must not be empty. |
| filename * | string | Bare Markdown file name, with no folders. Letters, digits, ".", "_" and "-" only, starting with a letter or digit, ending in ".md", at most 200 characters. Example: "BTCUSDT_sharpe_optimization_report.md" |
| overwrite | boolean | Default False, which refuses to replace an existing report and returns error_type "report_exists". Pass True only to update a report you saved earlier in the same task; otherwise choose a new file name. |
| strategy_name * | string | Exact name of an existing strategy (case-sensitive). Examples: "BTCSharpeIter", "RSIStrategy" |
search_symbolsFind importable symbols on one candle source by ticker prefix or instrument name.| Parameter | Type | Description |
|---|---|---|
| exchange * | string | |
| limit | integer | |
| query * | string |
start_live_sessionStart a live or paper draft, like the dashboard's Start button.| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
stop_live_sessionStop a running live or paper session, like the dashboard's Stop button.| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
store_data_provider_credentialsSave a data provider API key (`api_key`, required; default provider: "Massive") for historical imports.| Parameter | Type | Description |
|---|---|---|
| api_key | any | |
| provider_id | any |
store_exchange_api_keyStore an exchange API key so Jesse Live can trade on that exchange.| Parameter | Type | Description |
|---|---|---|
| additional_fields | any | |
| api_key | any | |
| api_secret | any | |
| exchange | any | |
| name | any |
terminate_monte_carloHard-terminate a running Monte Carlo session.| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
terminate_optimizationHard-terminate a running optimization (marks it 'terminated' and forces the| Parameter | Type | Description |
|---|---|---|
| session_id * | string |
update_backtest_draftUpdate an existing backtest draft configuration with complete state object.| Parameter | Type | Description |
|---|---|---|
| backtest_id * | string | UUID string of the backtest session to update Shape: UUID format string (e.g., "550e8400-e29b-41d4-a716-446655440000") |
| balance | number | |
| config_overrides | any | |
| fee | number | |
| leverage | integer | |
| leverage_mode | string | |
| state | string | JSON string containing complete state object with 'form' and 'results' sections. The state object must contain: - form: Configuration object with exchange, routes, dates, export options - results: Results object with showResults and executing flags Shape: JSON string representing {"form": {...}, "results": {...}} |
| warm_up_candles | integer |
update_backtest_notesUpdate notes for an existing backtest session.| Parameter | Type | Description |
|---|---|---|
| description | string | Detailed note or markdown summary. |
| session_id * | string | UUID string of the backtest session to update. |
| strategy_codes | string | JSON object string of strategy code snapshots. Shape: {"Binance Perpetual Futures-BTC-USDT": "strategy code"} |
| title | string | Short session title. |
update_configUpdate the Jesse configuration in the database with new settings.| Parameter | Type | Description |
|---|---|---|
| config * | string | JSON string containing complete configuration object. Must follow Jesse configuration schema with "data" root key. Shape: JSON string representing: { "data": { "backtest": { /* backtest config */ }, "live": { /* live config */ }, "optimization": { /* optimization config */ } } } |
update_live_draftChange a live/paper draft before it starts; omitted fields keep their stored values.| Parameter | Type | Description |
|---|---|---|
| config | any | |
| data_routes | any | |
| debug_mode | boolean | |
| exchange | string | |
| exchange_api_key_id | any | |
| notification_api_key_id | any | |
| paper_mode | boolean | |
| routes | any | |
| session_id | any |
update_live_session_notesSet the title and/or description of a live or paper session (the dashboard's notes).| Parameter | Type | Description |
|---|---|---|
| description | string | |
| session_id * | string | |
| title | string |
update_monte_carlo_draftUpdate a Monte Carlo draft: replace its full state, or change only its run settings.| Parameter | Type | Description |
|---|---|---|
| balance | number | |
| config_overrides | any | |
| fee | number | |
| leverage | integer | |
| leverage_mode | string | |
| session_id * | string | Draft session UUID. |
| state | string | JSON string of the complete state object (form + results). |
| warm_up_candles | integer |
update_monte_carlo_notesUpdate title / description / strategy code snapshot on an existing session.| Parameter | Type | Description |
|---|---|---|
| description | string | Markdown notes / conclusion. |
| session_id * | string | Session UUID. |
| strategy_codes | string | Optional JSON object string of strategy code snapshots, keyed by "<exchange>-<symbol>". |
| title | string | Short title shown in the sessions list. |
update_optimization_draftUpdate an optimization draft: replace its full state, or change only its run settings.| Parameter | Type | Description |
|---|---|---|
| balance | number | |
| config_overrides | any | |
| fee | number | |
| leverage | integer | |
| leverage_mode | string | |
| session_id * | string | UUID of the optimization session. |
| state | string | JSON string of the complete state object ({"form": {...}, "results": {...}}). Retrieve current state with get_optimization_session, modify, and send back. |
| warm_up_candles | integer |
update_optimization_notesUpdate title / description / strategy-code snapshot on an optimization session.| Parameter | Type | Description |
|---|---|---|
| description | string | |
| session_id * | string | UUID of the session. |
| strategy_codes | string | |
| title | string |
validate_data_provider_credentialsTest the stored data provider key against the provider (default provider: "Massive"; "FMP" for FMP).| Parameter | Type | Description |
|---|---|---|
| provider_id | any |
wait_for_sessionsWait until research sessions end or stall, instead of polling them one by one. Read-only:| Parameter | Type | Description |
|---|---|---|
| session_ids * | any | Up to 50 session IDs of any of the four research types (mixed is fine). |
| stall_minutes | any | Minutes without progress from a running session's (still alive) worker after which it counts as stalled. Defaults: backtest 10, optimization 30 (progress is recorded per finished trial, so raise it for very slow trials), Monte Carlo and significance test 20. |
| timeout_seconds | any | 0-540, default 240. When it passes first, `done` is false: call again with the same session_ids (an empty wait costs nothing on the Jesse host). |
| until | any | "all" (default) waits until every session is settled; "any" returns when the first one is, so you can start the next run while others continue. |
write_project_fileWrite a UTF-8 text file in strategies/ or research_scripts/.| Parameter | Type | Description |
|---|---|---|
| content * | string | Complete file text. |
| overwrite | boolean | Default False refuses an existing file with error_type "already_exists". Pass True only to replace a file you intend to replace. |
| path * | string | e.g. "research_scripts/ml/gather_data.py" or "strategies/MyStrategy/features.py". |
write_strategyUpdate the source code of a Jesse trading strategy.| Parameter | Type | Description |
|---|---|---|
| content * | string | Complete Python code for the strategy Must include proper class definition, imports, and methods Must be valid Python syntax and follow Jesse Strategy structure Shape: Multi-line string containing complete strategy code |
| name * | string | Exact name of the strategy to update (case-sensitive) Must match existing strategy name exactly Examples: "MyStrategy", "RSIStrategy" Shape: String matching existing strategy name |
Security checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 1.6K words, fetched 7 days ago. The original in the repository is authoritative.
Read full README