diff --git a/README.md b/README.md index fd1f097..dc8cf56 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,19 @@ # gotdx +通达信股票行情API golang版 + + +## API +- Connect 连接券商行情服务器 +- Disconnect 断开服务器 +- GetSecurityCount 获取指定市场内的证券数目 +- GetSecurityQuotes 获取盘口五档报价 +- GetSecurityList 获取市场内指定范围内的所有证券代码 +- GetSecurityBars 获取股票K线 +- GetIndexBars 获取指数K线 +- GetMinuteTimeData 获取分时图数据 +- GetHistoryMinuteTimeData 获取历史分时图数据 +- GetTransactionData 获取分时成交 +- GetHistoryTransactionData 获取历史分时成交 ## Example @@ -35,19 +50,10 @@ func main() { } - ``` -## API -- Connect 连接券商行情服务器 -- Disconnect 断开服务器 -- GetSecurityCount 获取指定市场内的证券数目 -- GetSecurityQuotes 获取盘口五档报价 -- GetSecurityList 获取市场内指定范围内的所有证券代码 -- GetSecurityBars 获取股票K线 -- GetIndexBars 获取指数K线 -- GetMinuteTimeData 获取分时图数据 -- GetHistoryMinuteTimeData 获取历史分时图数据 -- GetTransactionData 获取分时成交 -- GetHistoryTransactionData 获取历史分时成交 \ No newline at end of file +## Test +```bash + go test +``` \ No newline at end of file