Conversation
- Add _resolve_backtests() helper: filters backtests by strategy_ids and/or tag - Add _resolve_sids() helper: resolves strategy_ids from strategy_id, strategy_ids, or tag - Add strategy_ids + tag params to 7 multi-strategy tools: list_strategies, rank_strategies, get_full_analysis, get_trading_activity, get_correlation_matrix, get_window_coverage, filter_strategies - Add tag param to 6 time-series tools (already had strategy_ids): get_equity_curve, get_drawdown_series, get_monthly_returns, get_yearly_returns, get_rolling_sharpe, get_portfolio_snapshots - 18 of 23 tools now support tag/strategy_ids filtering - Single-strategy tools (5) and note tools (5) unchanged
- Add get_orders tool: lists all orders for a strategy with symbol, side, type, status, price, amount, filled, cost, fee, fee_rate, slippage, created date. Supports window filter and limit parameter. - Add get_positions tool: lists all positions for a strategy with symbol, amount, cost. Supports window filter. - Add _all_orders() and _all_positions() helper functions - Update tutorial notebook: 23 -> 25 tools, updated tool tables with strategy_ids/tag support columns, added orders/positions to docs
…_ids filtering docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Strategy filtering (commit d4fa188)
_resolve_backtests()and_resolve_sids()helpersstrategy_ids+tagparams to 7 multi-strategy toolstagparam to 6 time-series toolsNew tools (commit e7716a1)
get_orders: list orders for a strategy with optional window/limitget_positions: list positions for a strategy with optional windowDocumentation (commit 011a6c5)