MCPcopy Create free account
hub / github.com/TurtleTrace2026/TurtleTrace / formatStockCode

Method formatStockCode

src/services/shareService.ts:34–39  ·  view source on GitHub ↗

* 应用脱敏配置到股票代码

(symbol: string, name: string, config: PrivacyConfig)

Source from the content-addressed store, hash-verified

32 * 应用脱敏配置到股票代码
33 */
34 formatStockCode(symbol: string, name: string, config: PrivacyConfig): string {
35 if (config.hideStockCode) {
36 return name
37 }
38 return `${name}(${symbol})`
39 }
40
41 /**
42 * 应用脱敏配置到数量

Callers 2

sanitizePositionsMethod · 0.95
generateMarkdownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected