MCPcopy Create free account

hub / github.com/bensema/gotdx / functions

Functions1,198 in github.com/bensema/gotdx

↓ 829 callersMethodWrite
(b []byte)
hosts_test.go:102
↓ 163 callersFunctionencodePrice
(value int)
proto/protocol_test.go:11
↓ 143 callersFunctionformatFloat
(value float64)
cmd/webviewer/query.go:5757
↓ 138 callersFunctiongetprice
pytdx : 类似utf-8的编码方式保存有符号数字
proto/proto.go:206
↓ 116 callersFunctionvalueOrDefault
(params map[string]string, key string, def string)
cmd/webviewer/query.go:4442
↓ 111 callersFunctionwriteMACFloat32
(t *testing.T, buf *bytes.Buffer, value float32)
proto/mac_protocol_test.go:18
↓ 98 callersFunctionUtf8ToGbk
(text []byte)
proto/util.go:13
↓ 95 callersMethodDisconnect
Disconnect 断开服务器
client.go:365
↓ 90 callersMethodUint8
()
types/constants.go:34
↓ 83 callersFunctionexecuteProtocol
(client *Client, protocol proto.Protocol[T])
client_helpers.go:12
↓ 78 callersFunctionseqID
()
proto/proto.go:168
↓ 73 callersMethodRead
(b []byte)
hosts_test.go:101
↓ 72 callersFunctionparseUint32Value
(params map[string]string, key string, def uint32)
cmd/webviewer/query.go:4421
↓ 65 callersFunctionmustBuildRequest
(t *testing.T, msg RequestBuilder)
proto/protocol_test.go:60
↓ 63 callersFunctionparseUint16Value
(params map[string]string, key string, def uint16)
cmd/webviewer/query.go:4412
↓ 57 callersFunctionwriteFloat32
(t *testing.T, buf *bytes.Buffer, value float32)
proto/ex_protocol_test.go:20
↓ 53 callersFunctionparseUint8Value
(params map[string]string, key string, def uint8)
cmd/webviewer/query.go:4403
↓ 45 callersFunctionwithMainClient
(fn func(*gotdx.Client) (queryPayload, error))
cmd/webviewer/query.go:4264
↓ 41 callersFunctionbuildExRequest
(method uint16, payload []byte)
proto/ex_request.go:16
↓ 39 callersMethodquotationClient
()
client_unified.go:12
↓ 33 callersFunctionreadReqHeader
(t *testing.T, raw []byte)
proto/protocol_test.go:69
↓ 32 callersFunctionassertNearFloat64
(t *testing.T, got float64, want float64, label string)
proto/mac_protocol_test.go:11
↓ 27 callersMethodString
()
types/constants.go:36
↓ 27 callersFunctionreadExReqHeader
(t *testing.T, raw []byte)
proto/ex_protocol_test.go:11
↓ 24 callersFunctionNewMainClient
()
examples/internal/exampleutil/client.go:5
↓ 23 callersMethodConnectMAC
()
client_mac.go:30
↓ 21 callersFunctionmakeMACCode22
(code string)
proto/mac_util.go:21
↓ 21 callersFunctionwithExClient
(fn func(*gotdx.Client) (queryPayload, error))
cmd/webviewer/query.go:4273
↓ 20 callersFunctionNewExClient
()
examples/internal/exampleutil/client.go:20
↓ 19 callersMethodexQuotationClient
()
client_unified.go:37
↓ 19 callersFunctionmakeCode6
(code string)
client_helpers.go:32
↓ 19 callersFunctionwithMACClient
(fn func(*gotdx.Client) (queryPayload, error))
cmd/webviewer/query.go:4282
↓ 17 callersFunctionNewMACClient
()
examples/internal/exampleutil/client.go:48
↓ 17 callersFunctionparseICFQSTableIndex
(params map[string]string, def int)
cmd/webviewer/query.go:5444
↓ 16 callersFunctionpayloadFromICFQSTable
(raw map[string]any, tableIndex int)
cmd/webviewer/query.go:5478
↓ 15 callersFunctionwithMACExClient
(fn func(*gotdx.Client) (queryPayload, error))
cmd/webviewer/query.go:4291
↓ 14 callersMethodPostTQL
PostTQL posts a TQLEX request with Params/oauth_zzfw and parses the response object.
icfqs.go:94
↓ 14 callersFunctionWithTimeoutSec
(timeoutSec int)
options.go:104
↓ 13 callersFunctionanyToFloat64
(v interface{})
proto/mac_symbol_belong_board.go:182
↓ 12 callersFunctionNew
(opts ...Option)
client.go:27
↓ 12 callersMethodapplyMACFieldBitmap
(*[20]byte)
mac_bitmap.go:5
↓ 12 callersFunctionnewICFQSViewerClient
(host string)
cmd/webviewer/query.go:5430
↓ 11 callersFunctionparseCodeList
(value string)
cmd/webviewer/query.go:4359
↓ 11 callersFunctionrequireIntegration
(t *testing.T)
client_test.go:22
↓ 10 callersMethodConnect
Connect 连接券商行情服务器
client.go:311
↓ 10 callersFunctionnewMACIntegrationClient
()
client_mac_integration_test.go:12
↓ 9 callersMethodClose
()
hosts_test.go:103
↓ 9 callersMethodResponse
()
proto/server.go:251
↓ 9 callersFunctionWithTCPAddress
(tcpAddress string)
options.go:56
↓ 9 callersFunctionnewClient
()
client_test.go:12
↓ 8 callersFunctionCleanCode
(code string)
types/util.go:197
↓ 8 callersFunctionnewClientWithOptions
(opt *Options, mode clientMode)
client.go:80
↓ 7 callersMethodString
()
hosts_test.go:113
↓ 7 callersFunctionWithExTCPAddress
(tcpAddress string)
options.go:68
↓ 7 callersFunctionexpandUint8List
(values []uint8, targetLen int, label string)
cmd/webviewer/query.go:4386
↓ 7 callersFunctiongetfloat32
(b []byte, pos *int)
proto/proto.go:254
↓ 7 callersFunctionhostAddresses
(hosts []HostInfo)
hosts.go:259
↓ 7 callersFunctionmakeMACCode22Client
(code string)
client_mac.go:714
↓ 7 callersFunctionparseUint8List
(value string)
cmd/webviewer/query.go:4373
↓ 7 callersFunctionpreview
(text string, max int)
cmd/webviewer/query.go:5749
↓ 7 callersFunctionrowsFromExQuotes
(items []proto.ExQuoteItem)
cmd/webviewer/query.go:4921
↓ 7 callersFunctionrowsFromRawReply
(reply *proto.RawDataReply)
cmd/webviewer/query.go:4514
↓ 6 callersFunctionExHostAddresses
ExHostAddresses returns the built-in extended-market host:port list.
hosts.go:202
↓ 6 callersMethodGetSecurityListRange
GetSecurityListRange 获取市场内指定范围内的证券代码
client_quote.go:113
↓ 6 callersFunctionMACFieldBitmap
MACFieldBitmap 根据字段位和预设组合构造 20 字节 MAC 动态字段位图。
mac_bitmap.go:229
↓ 6 callersFunctionMACHostAddresses
MACHostAddresses returns the built-in MAC quote host:port list.
hosts.go:207
↓ 6 callersFunctionMainHostAddresses
MainHostAddresses returns the built-in main quote host:port list.
hosts.go:192
↓ 6 callersFunctionNewICFQS
NewICFQS creates an ICFQS HTTP client.
icfqs.go:40
↓ 6 callersMethodParseResponse
(header *RespHeader, data []byte)
proto/server.go:213
↓ 6 callersFunctionProbeHosts
ProbeHosts concurrently dials the supplied built-in host entries and returns the results sorted by reachability and latency.
hosts.go:223
↓ 6 callersFunctioncloneHosts
(hosts []HostInfo)
hosts.go:255
↓ 6 callersFunctiondecodeDateNum
(category uint16, num uint32, index bool)
proto/proto.go:265
↓ 6 callersFunctionformatFloat32Ptr
(value *float32)
cmd/webviewer/query.go:5786
↓ 6 callersFunctionmakeCode23
(code string)
client_helpers.go:44
↓ 6 callersFunctionround2
(v float64)
client_unified.go:1096
↓ 6 callersFunctionsplitHosts
(hosts []string)
examples/internal/exampleutil/client.go:82
↓ 5 callersMethodConnectEx
ConnectEx 连接扩展市场服务器并完成登录
client.go:338
↓ 5 callersMethodCurrentAddress
()
client.go:56
↓ 5 callersFunctionDefaultMACBoardMembersQuotesFieldBitmap
DefaultMACBoardMembersQuotesFieldBitmap 返回与当前稳定成分报价接口一致的默认字段位图。
mac_bitmap.go:241
↓ 5 callersMethodDownloadFullFile
DownloadFullFile 下载完整文件
client_extras.go:55
↓ 5 callersFunctionExchangeMACBoardCode
(boardSymbol string)
proto/mac_util.go:27
↓ 5 callersMethodGetTransactionData
GetTransactionData 获取分时成交
client_quote.go:281
↓ 5 callersFunctionMACExHostAddresses
MACExHostAddresses returns the built-in MAC extended-market host:port list.
hosts.go:212
↓ 5 callersMethodMACQuotesWithDate
MACQuotesWithDate 获取 MAC 行情快照与分时采样,并可指定查询日期。
client_mac.go:463
↓ 5 callersMethodParseResponse
(header *RespHeader, data []byte)
proto/experimental.go:673
↓ 5 callersMethodResponse
()
proto/experimental.go:702
↓ 5 callersFunctionWithICFQSAddress
WithICFQSAddress sets the ICFQS host:port or base URL.
icfqs.go:67
↓ 5 callersFunctionWithMacTCPAddress
(tcpAddress string)
options.go:80
↓ 5 callersFunctionanyToString
(v interface{})
proto/mac_symbol_belong_board.go:154
↓ 5 callersFunctionapplyTurnoverToBars
(items []proto.SecurityBar, floatShares float64)
client_unified.go:1080
↓ 5 callersFunctiondefaultAddressAndPool
(addresses []string, fallback string)
hosts.go:267
↓ 5 callersFunctionformatAny
(value any)
cmd/webviewer/query.go:5761
↓ 5 callersMethodloadFloatShares
(qc *Client, market uint8, code string)
client_unified.go:1034
↓ 5 callersFunctionmakeMACCode21
(code string)
proto/mac_util.go:15
↓ 5 callersFunctionmakeStocks
(markets []uint8, codes []string)
client_helpers.go:80
↓ 5 callersFunctionnewGenericRawMainProtocol
(method uint16, payload []byte)
proto/experimental.go:41
↓ 5 callersFunctionnewICFQSViewerHotClient
(host string)
cmd/webviewer/query.go:5437
↓ 5 callersFunctionparseMACBoardMembersQuotesFieldBitmap
(value string)
cmd/webviewer/query.go:4489
↓ 5 callersFunctionquotesSortReverse
(sortType uint16, reverse bool)
client_helpers.go:110
↓ 5 callersMethodtimeout
()
client.go:193
next →1–100 of 1,198, ranked by callers