[{"data":1,"prerenderedAt":457},["ShallowReactive",2],{"docs-page-account":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"body":10,"_type":451,"_id":452,"_source":453,"_file":454,"_stem":455,"_extension":456},"\u002Fdocs\u002Faccount","docs",false,"","权限与套餐","查询当前账号权限（GET \u002Fv1\u002Fme）、套餐档位与用户中心沙箱测试说明。",{"type":11,"children":12,"toc":447},"root",[13,22,53,75,80,337,343,380,441],{"type":14,"tag":15,"props":16,"children":18},"element","h2",{"id":17},"查询当前权限-me",[19],{"type":20,"value":21},"text","查询当前权限 {#me}",{"type":14,"tag":23,"props":24,"children":28},"pre",{"className":25,"code":26,"language":27,"meta":7,"style":7},"language-http shiki shiki-themes github-dark","GET \u002Fv1\u002Fme\nX-API-Key: tg_xxx\n","http",[29],{"type":14,"tag":30,"props":31,"children":32},"code",{"__ignoreMap":7},[33,44],{"type":14,"tag":34,"props":35,"children":38},"span",{"class":36,"line":37},"line",1,[39],{"type":14,"tag":34,"props":40,"children":41},{},[42],{"type":20,"value":43},"GET \u002Fv1\u002Fme\n",{"type":14,"tag":34,"props":45,"children":47},{"class":36,"line":46},2,[48],{"type":14,"tag":34,"props":49,"children":50},{},[51],{"type":20,"value":52},"X-API-Key: tg_xxx\n",{"type":14,"tag":54,"props":55,"children":56},"p",{},[57,59,65,67,73],{"type":20,"value":58},"响应中的 ",{"type":14,"tag":30,"props":60,"children":62},{"className":61},[],[63],{"type":20,"value":64},"api_base",{"type":20,"value":66}," 为请求根地址，业务接口形如 ",{"type":14,"tag":30,"props":68,"children":70},{"className":69},[],[71],{"type":20,"value":72},"{api_base}\u002Fv1\u002Frealtime",{"type":20,"value":74},"。建议通过本接口动态获取。",{"type":14,"tag":54,"props":76,"children":77},{},[78],{"type":20,"value":79},"响应示例结构：",{"type":14,"tag":81,"props":82,"children":83},"table",{},[84,103],{"type":14,"tag":85,"props":86,"children":87},"thead",{},[88],{"type":14,"tag":89,"props":90,"children":91},"tr",{},[92,98],{"type":14,"tag":93,"props":94,"children":95},"th",{},[96],{"type":20,"value":97},"字段",{"type":14,"tag":93,"props":99,"children":100},{},[101],{"type":20,"value":102},"说明",{"type":14,"tag":104,"props":105,"children":106},"tbody",{},[107,121,134,147,160,173,186,198,214,227,240,253,266,279,292,311,324],{"type":14,"tag":89,"props":108,"children":109},{},[110,116],{"type":14,"tag":111,"props":112,"children":113},"td",{},[114],{"type":20,"value":115},"account.name",{"type":14,"tag":111,"props":117,"children":118},{},[119],{"type":20,"value":120},"账号名称",{"type":14,"tag":89,"props":122,"children":123},{},[124,129],{"type":14,"tag":111,"props":125,"children":126},{},[127],{"type":20,"value":128},"account.plan",{"type":14,"tag":111,"props":130,"children":131},{},[132],{"type":20,"value":133},"当前生效套餐",{"type":14,"tag":89,"props":135,"children":136},{},[137,142],{"type":14,"tag":111,"props":138,"children":139},{},[140],{"type":20,"value":141},"account.expires_at",{"type":14,"tag":111,"props":143,"children":144},{},[145],{"type":20,"value":146},"到期时间",{"type":14,"tag":89,"props":148,"children":149},{},[150,155],{"type":14,"tag":111,"props":151,"children":152},{},[153],{"type":20,"value":154},"account.subscription_active",{"type":14,"tag":111,"props":156,"children":157},{},[158],{"type":20,"value":159},"订阅是否有效",{"type":14,"tag":89,"props":161,"children":162},{},[163,168],{"type":14,"tag":111,"props":164,"children":165},{},[166],{"type":20,"value":167},"account.subscribed_plan",{"type":14,"tag":111,"props":169,"children":170},{},[171],{"type":20,"value":172},"过期时原订阅套餐名",{"type":14,"tag":89,"props":174,"children":175},{},[176,181],{"type":14,"tag":111,"props":177,"children":178},{},[179],{"type":20,"value":180},"key.prefix \u002F key.label",{"type":14,"tag":111,"props":182,"children":183},{},[184],{"type":20,"value":185},"Key 前缀与备注",{"type":14,"tag":89,"props":187,"children":188},{},[189,193],{"type":14,"tag":111,"props":190,"children":191},{},[192],{"type":20,"value":64},{"type":14,"tag":111,"props":194,"children":195},{},[196],{"type":20,"value":197},"请求根地址（无尾斜杠；未分配时不返回）",{"type":14,"tag":89,"props":199,"children":200},{},[201,209],{"type":14,"tag":111,"props":202,"children":203},{},[204,206],{"type":20,"value":205},"scopes",{"type":14,"tag":34,"props":207,"children":208},{},[],{"type":14,"tag":111,"props":210,"children":211},{},[212],{"type":20,"value":213},"已开通 scope；每项含 scope、name、rate_limit",{"type":14,"tag":89,"props":215,"children":216},{},[217,222],{"type":14,"tag":111,"props":218,"children":219},{},[220],{"type":20,"value":221},"kline",{"type":14,"tag":111,"props":223,"children":224},{},[225],{"type":20,"value":226},"K 线策略摘要（周期、条数上限、复权、指标）",{"type":14,"tag":89,"props":228,"children":229},{},[230,235],{"type":14,"tag":111,"props":231,"children":232},{},[233],{"type":20,"value":234},"max_realtime_symbols",{"type":14,"tag":111,"props":236,"children":237},{},[238],{"type":20,"value":239},"实时 \u002F ETF 实时单次最多 symbol 数（无权限时不返回）",{"type":14,"tag":89,"props":241,"children":242},{},[243,248],{"type":14,"tag":111,"props":244,"children":245},{},[246],{"type":20,"value":247},"max_realtime_stream_subscriptions",{"type":14,"tag":111,"props":249,"children":250},{},[251],{"type":20,"value":252},"个股 Tick WS 并发连接数（无权限时为 0；与期货无关）",{"type":14,"tag":89,"props":254,"children":255},{},[256,261],{"type":14,"tag":111,"props":257,"children":258},{},[259],{"type":20,"value":260},"max_realtime_stream_symbols",{"type":14,"tag":111,"props":262,"children":263},{},[264],{"type":20,"value":265},"个股 Tick WS 单次及连接内最多只数（无权限时为 0）",{"type":14,"tag":89,"props":267,"children":268},{},[269,274],{"type":14,"tag":111,"props":270,"children":271},{},[272],{"type":20,"value":273},"max_level2_subscriptions",{"type":14,"tag":111,"props":275,"children":276},{},[277],{"type":20,"value":278},"Level2 WS 并发连接数（无权限时为 0）",{"type":14,"tag":89,"props":280,"children":281},{},[282,287],{"type":14,"tag":111,"props":283,"children":284},{},[285],{"type":20,"value":286},"max_level2_slots",{"type":14,"tag":111,"props":288,"children":289},{},[290],{"type":20,"value":291},"Level2 WS 单连接订阅槽上限（标的×通道；无权限时为 0）",{"type":14,"tag":89,"props":293,"children":294},{},[295,300],{"type":14,"tag":111,"props":296,"children":297},{},[298],{"type":20,"value":299},"level2_channels",{"type":14,"tag":111,"props":301,"children":302},{},[303,305],{"type":20,"value":304},"Level2 当下可订通道（套餐 ∩ 当前行情能力），如 ",{"type":14,"tag":30,"props":306,"children":308},{"className":307},[],[309],{"type":20,"value":310},"[\"depth\",\"orders\",\"trades\",\"entrust\"]",{"type":14,"tag":89,"props":312,"children":313},{},[314,319],{"type":14,"tag":111,"props":315,"children":316},{},[317],{"type":20,"value":318},"max_futures_stream_subscriptions",{"type":14,"tag":111,"props":320,"children":321},{},[322],{"type":20,"value":323},"期货推送并发路数；同一通道 SSE 与 WS 同源计数，v1\u002Fv2 各自独立（无权限时为 0）",{"type":14,"tag":89,"props":325,"children":326},{},[327,332],{"type":14,"tag":111,"props":328,"children":329},{},[330],{"type":20,"value":331},"rate_limit",{"type":14,"tag":111,"props":333,"children":334},{},[335],{"type":20,"value":336},"全局限流（如有）",{"type":14,"tag":15,"props":338,"children":340},{"id":339},"套餐档位-tiers",[341],{"type":20,"value":342},"套餐档位 {#tiers}",{"type":14,"tag":54,"props":344,"children":345},{},[346,348,354,356,362,364,370,372,378],{"type":20,"value":347},"各档位 ",{"type":14,"tag":349,"props":350,"children":351},"strong",{},[352],{"type":20,"value":353},"K 线",{"type":20,"value":355},"周期、条数上限、复权与限流见 ",{"type":14,"tag":30,"props":357,"children":359},{"className":358},[],[360],{"type":20,"value":361},"GET \u002Fpublic\u002Fv1\u002Fcatalog",{"type":20,"value":363}," 的 ",{"type":14,"tag":30,"props":365,"children":367},{"className":366},[],[368],{"type":20,"value":369},"tiers",{"type":20,"value":371},"。接口权限按套餐的差异见同接口返回的 ",{"type":14,"tag":30,"props":373,"children":375},{"className":374},[],[376],{"type":20,"value":377},"scope_rows",{"type":20,"value":379},"（矩阵：接口 × 免费\u002F基础\u002F专业\u002F旗舰）。",{"type":14,"tag":54,"props":381,"children":382},{},[383,388,390,396,398,404,406,412,413,418,420,426,428,433,435,440],{"type":14,"tag":349,"props":384,"children":385},{},[386],{"type":20,"value":387},"实时批量：",{"type":20,"value":389}," ",{"type":14,"tag":30,"props":391,"children":393},{"className":392},[],[394],{"type":20,"value":395},"\u002Fv1\u002Frealtime",{"type":20,"value":397}," 与 ",{"type":14,"tag":30,"props":399,"children":401},{"className":400},[],[402],{"type":20,"value":403},"\u002Fv1\u002Fetf\u002Frealtime",{"type":20,"value":405}," 单次 symbol 上限见 ",{"type":14,"tag":30,"props":407,"children":409},{"className":408},[],[410],{"type":20,"value":411},"GET \u002Fv1\u002Fme",{"type":20,"value":363},{"type":14,"tag":30,"props":414,"children":416},{"className":415},[],[417],{"type":20,"value":234},{"type":20,"value":419}," 或 ",{"type":14,"tag":30,"props":421,"children":423},{"className":422},[],[424],{"type":20,"value":425},"catalog.tiers",{"type":20,"value":427},"。",{"type":14,"tag":349,"props":429,"children":430},{},[431],{"type":20,"value":432},"分时",{"type":20,"value":434},"每次 ",{"type":14,"tag":349,"props":436,"children":437},{},[438],{"type":20,"value":439},"1 只",{"type":20,"value":427},{"type":14,"tag":442,"props":443,"children":444},"style",{},[445],{"type":20,"value":446},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":7,"searchDepth":46,"depth":46,"links":448},[449,450],{"id":17,"depth":46,"text":21},{"id":339,"depth":46,"text":342},"markdown","content:docs:account.md","content","docs\u002Faccount.md","docs\u002Faccount","md",1791209917244]