{"type":"page","id":"u:c8da30f42ffb","getCandlestickChartsInfoSchema":{"tool_id":"456","function":{"name":"getCandlestickChartsInfo","type":"function","description":"Retrieve the basic information of the candlestick (K-line) chart for the current page's underlying asset. Example return: ```{'codeInfo':{'symbol':'NVDA','period':'day_1','codeName':'Nvidia','showCode':'NVDA','exchangeShowName':'NASDAQ','market':'185','marketId':185,'marketType':'stock','codeAppType':'us','marketStatus':'intraday'},'dateInterval':{'beginTimestamp':17985342,'endTimestamp': 17985342},drawnOverlayIds: ['f6sd87fas8g5']}```;\nSupported enum values for `codeInfo.marketType`: 'stock'|'futures'|'option'|'arbitrage'|'etf'|'crypto'|'block'|'others'."}},"candlestickChartEventMarkerSchema":{"tool_id":"456","function":{"name":"candlestickChartEventMarker","description":"Used to mark specific event points on the candlestick chart. Event data must first be retrieved using a foundational tool (e.g., the `search` tool). Call this function after data retrieval for correct execution. Hence, the function must be called in the correct logical sequence to ensure proper execution.","type":"function","parameters":{"type":"object","properties":{"ticker":{"type":"string","description":"ticker code for marking event tag"},"events":{"type":"array","description":"List of events to be marked on the candlestick chart","items":{"type":"object","properties":{"type":{"type":"string","description":"event type","enum":["news_event"]},"date":{"type":"string","description":"event occurrence date, format must be `yyyyMMdd`"},"summary":{"type":"string","description":"event summary – A brief description of the event."},"url":{"type":"string","description":"URL of the original source news where the event was identified"},"title":{"type":"string","description":"event Name"}},"required":["type","date","summary","url","title"],"additionalProperties":false}},"start_date":{"type":"string","description":"start date of marking period, format must be `yyyyMMdd`"},"end_date":{"type":"string","description":"end date of marking period, format must be `yyyyMMdd`"}},"required":["ticker","events","start_date","end_date"],"additionalProperties":false}}},"analysisTpl":"Please perform descriptive statistics on {symbol}'s candlestick data from {startDate} to {endDate}, First, conduct descriptive statistics. Then, identify the patterns and the corresponding sentiment signals within the interval and draw the identified patterns directly on the chart. Finally, identify the events contained in the news within the interval and mark them on the chart. Please output the above three parts of content in markdown table format.","removeDrawingObjectSchema":{"tool_id":"456","function":{"name":"removeDrawingObject","description":"Used to remove drawing objects on the candlestick chart. Before calling this tool, you must first call `getCandlestickChartInfo` to obtain the `unique identifiers (name or ID)` and `type` of all drawing objects on the current candlestick chart, in order to precisely delete them. Hence, the function must be called in the correct logical sequence to ensure proper execution.","type":"function","parameters":{"type":"object","properties":{"objects":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"type of drawing object","enum":["overlay","indicator"]},"id":{"type":"string","description":"unique identifier of drawing object"}},"required":["type","id"],"additionalProperties":false}}}}}},"switchCandlestickConfigSchema":{"tool_id":"456","function":{"name":"switchCandlestickChartConfig","description":"Used to address the demands related to switching in the candlestick chart, the specific scope of switching capabilities should refer to the switching options listed within the tool. Before calling, it is necessary to first call `getCandlestickChartInfo` to obtain the required information of candlestick chart. Hence, the function must be called in the correct logical sequence to ensure proper execution.","type":"function","parameters":{"type":"object","properties":{"parameters":{"oneOf":[{"type":"object","properties":{"switch_config":{"type":"string","enum":["line_type"]},"line_type":{"type":"string","description":"expected analysis line type of candlestick chart","enum":["candle_solid","candle_stroke","candle_up_stroke","candle_down_stroke","ohlc","area","line","volume_footprint","session_volume_profile","candle_high_low","candle_columns","candle_heikin_ashi","hlc_area","base_line","step_line"]}},"required":["switch_config","line_type"],"additionalProperties":false},{"type":"object","properties":{"switch_config":{"type":"string","enum":["chart_period"]},"period":{"type":"string","description":"expected analysis period of candlestick chart","enum":["intraday","min_1","min_5","min_30","hour_1","hour_2","hour_4","day_1","week_1","month_1","month_3","year_1"]}},"required":["switch_config","period"],"additionalProperties":false}]}},"required":["parameters"],"additionalProperties":false}}},"candlestickGeneralIndicatorDrawingSchema":{"tool_id":"456","function":{"name":"candlestickGeneralIndicatorDrawing","description":"Used to address the demands for drawing general indicators on the candlestick chart. These indicators are typically pre-configured or prepared in advance, without user-created or custom logic. The specific scope of switching capabilities depends on the indicators listed in this tool. This tool is complementary to `pineScriptInterpreter`. Before calling this tool, you must first call `getCandlestickChartInfo` or similar functions to obtain the necessary information, such as the `ticker code`, and check the indicators already present on the chart to avoid duplication. Hence, the function must be called in the correct logical sequence to ensure proper execution.","type":"function","parameters":{"type":"object","properties":{"parameters":{"oneOf":[{"type":"object","properties":{"object_type":{"type":"string","enum":["preset_indicator"]},"business_type":{"type":"string","enum":["indicator"]},"object_name":{"type":"string","description":"预置指标类型: QUANT_FORESIGHT=量化预测, MA=均线, BOLL=布林带, BBI=多空指标, SAR=抛物线指标, VWAP=成交量加权均价, EMA=指数移动平均, VOL=成交量, MACD=平滑异同移动平均, KDJ=随机指标, RSI=相对强弱指标, BIAS=乖离率, WR=威廉指标, VR=量比, CCI=顺势指标, DMI=动向指标, MTM=动量指标, PSY=心理线, ROC=变动率, CR=能量指标","enum":["MA","BOLL","BBI","SAR","VWAP","EMA","VOL","MACD","VRVP","QUANT_FORESIGHT","KDJ","RSI","BIAS","WR","VR","CCI","DMI","MTM","PSY","ROC","CR"]}},"required":["object_type","business_type","object_name"],"additionalProperties":false},{"type":"object","properties":{"object_type":{"type":"string","enum":["algorithm_indicator"]},"business_type":{"type":"string","enum":["pattern"]},"ticker":{"type":"string","description":"ticker code"},"start_date":{"type":"string","description":"start date of drawing, format must be `yyyyMMdd`"},"end_date":{"type":"string","description":"end date of drawing, format must be `yyyyMMdd`"},"elements":{"type":"object","properties":{"name":{"type":"string","description":"","enum":["double_top","double_bottom","triple_top","triple_bottom","head_shoulders_top","inverse_head_shoulders","cup_handle","inverted_cup_handle","elliott_wave","all_patterns"]},"category":{"type":"string","enum":["pattern"]}},"required":["name","category"],"additionalProperties":false}},"required":["object_type","business_type","ticker","elements","start_date","end_date"],"additionalProperties":false},{"type":"object","properties":{"object_type":{"type":"string","enum":["algorithm_indicator"]},"business_type":{"type":"string","enum":["indicator"]},"ticker":{"type":"string","description":"ticker code"},"start_date":{"type":"string","description":"start date of drawing, format must be `yyyyMMdd`"},"end_date":{"type":"string","description":"end date of drawing, format must be `yyyyMMdd`"},"elements":{"type":"object","properties":{"name":{"type":"string","description":"技术指标: alma=阿尔诺莱古均线, pitchfork=安德鲁斯叉形线, chande_kroll_stop=钱德止损, donchian_channels=唐奇安通道, double_ema=双指数均线, envelope=包络线, smart_money_concepts=聪明资金概念, support_resistance_power_channel=支撑阻力通道, long_wick_detector=长影线检测, ichimoku_cloud=一目均衡云, pivot_points_standard=标准枢轴点, pivot_points_high_low=高低点枢轴, keltner_channels=肯特纳通道, least_squares_moving_average=最小二乘均线, linear_regression_channel=线性回归通道, mcginley_dynamic=麦金利动态均线, median=中位价, fibonacci_retracement=斐波那契回撤, emrekb=市场结构与订单块, nadaraya_watson_envelope=纳达拉亚华生包络, chandelier_exit=吊灯退出, volume_support_resistance_zones=成交量支撑阻力区, ma_ribbon=均线带, supertrend=超级趋势, volatility_stop=波动止损, williams_alligator=鳄鱼线, ma_exponential=EMA, ma_simple=SMA, ma_weighted=WMA, parabolic_sar=抛物线SAR, third_wave=第三波, stma=趋势均线组合, ehlers_instantaneous_trend=Ehlers即时趋势, optimized_trend_tracker_bands=优化趋势追踪带","enum":["alma","pitchfork","chande_kroll_stop","donchian_channels","double_ema","envelope","smart_money_concepts","support_resistance_power_channel","long_wick_detector","ichimoku_cloud","pivot_points_standard","pivot_points_high_low","keltner_channels","least_squares_moving_average","linear_regression_channel","mcginley_dynamic","median","emrekb","nadaraya_watson_envelope","chandelier_exit","volume_support_resistance_zones","ma_ribbon","supertrend","volatility_stop","williams_alligator","ma_exponential","ma_simple","ma_weighted","parabolic_sar","third_wave","stma","ehlers_instantaneous_trend","optimized_trend_tracker_bands"]},"category":{"type":"string","enum":["indicator"]}},"required":["name","category"],"additionalProperties":false}},"required":["object_type","business_type","ticker","elements","start_date","end_date"],"additionalProperties":false},{"type":"object","properties":{"object_type":{"type":"string","enum":["algorithm_indicator"]},"business_type":{"type":"string","enum":["line"]},"ticker":{"type":"string","description":"ticker code"},"start_date":{"type":"string","description":"start date of drawing, format must be `yyyyMMdd`"},"end_date":{"type":"string","description":"end date of drawing, format must be `yyyyMMdd`"},"elements":{"type":"object","properties":{"name":{"type":"string","description":"切线分析: trend_channel=趋势通道, horizontal_support=水平支撑, horizontal_resistance=水平阻力, fibonacci_retracement=斐波那契回撤","enum":["trend_channel","horizontal_support","horizontal_resistance","fibonacci_retracement"]},"category":{"type":"string","enum":["line"]}},"required":["name","category"],"additionalProperties":false}},"required":["object_type","business_type","ticker","elements","start_date","end_date"],"additionalProperties":false}]}},"required":["parameters"],"additionalProperties":false}}},"pineInterpreterSchema":{"tool_id":"456","function":{"name":"pineScriptInterpreter","description":"Pine-based code interpreter for a subset of Pine Script v5, primarily for advanced or custom candlestick drawing. This tool is complementary to `candlestickGeneralIndicatorDrawing`. This implementation is NOT fully compatible with TradingView; only the items below are supported. After execution, it returns results and status info for subsequent reasoning/calls.\n\n【Compatibility – Supported Only (Anything not listed is NOT supported)】\n\nVariables:\n- open, high, low, close, volume, bar_index\n\nConstants (colors):\n- color.black, color.silver, color.gray, color.white, color.maroon, color.red, color.purple, color.fuchsia, color.green, color.lime, color.olive, color.yellow, color.navy, color.blue, color.teal, color.orange\n\nConstants (plot styles):\n- plot.style_line, plot.style_stepline, plot.style_stepline_diamond, plot.style_histogram, plot.style_cross, plot.style_area, plot.style_columns, plot.style_circles, plot.style_linebr, plot.style_areabr, plot.style_steplinebr\n\nFunctions:\n- plot\n- ta.alma, ta.atr, ta.barssince, ta.bbw, ta.cci, ta.change, ta.cmo, ta.cog, ta.correlation, ta.cross, ta.crossover, ta.crossunder, ta.cum, ta.dev, ta.ema, ta.falling, ta.highest, ta.highestbars, ta.hma, ta.kcw, ta.linreg, ta.lowest, ta.lowestbars, ta.max, ta.median, ta.mfi, ta.min, ta.mode, ta.mom, ta.obv, ta.percentile_linear_interpolation, ta.percentile_nearest_rank, ta.percentrank, ta.pivothigh, ta.pivotlow, ta.pvi, ta.pvt, ta.range, ta.rci, ta.rising, ta.rma, ta.roc, ta.rsi, ta.sar, ta.sma, ta.stdev, ta.stoch, ta.swma, ta.tr, ta.tsi, ta.valuewhen, ta.variance, ta.vwma, ta.wad, ta.wma, ta.wpr, ta.wvad\n\nNotes:\n- Features/identifiers not listed above (including but not limited to strategy.*, request.*, label.*, line.*, box.*, table.*, timeframe.*, syminfo.*, advanced inputs, alerts, external data requests) are NOT supported by this interpreter.\n- Execution time and memory are bounded; overly heavy scripts may be terminated.\n\nUsage:\n- Provide Pine code wrapped in a Markdown code block with language `pinescript`.\n- Prefer the listed TA functions and plot styles; avoid any unsupported identifiers.","type":"function","parameters":{"type":"object","properties":{"script":{"type":"string","description":"pine script"},"name":{"type":"string","description":"Name of drawing object(indicator)."}},"required":["script"],"additionalProperties":false}}},"meta":{"id":19512,"systemId":252}}