emshare 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. em/__init__.py +308 -0
  2. em/__main__.py +8 -0
  3. em/application/__init__.py +1 -0
  4. em/application/catalog.py +1985 -0
  5. em/application/convenience.py +115 -0
  6. em/application/dataframe.py +1438 -0
  7. em/application/hints.py +87 -0
  8. em/application/ledger.py +152 -0
  9. em/application/market_data.py +1307 -0
  10. em/application/pagination.py +32 -0
  11. em/application/registry.py +150 -0
  12. em/application/reports.py +136 -0
  13. em/application/resolve.py +164 -0
  14. em/channels/__init__.py +1 -0
  15. em/channels/eastmoney/__init__.py +1 -0
  16. em/channels/eastmoney/ashare_billboard/__init__.py +1 -0
  17. em/channels/eastmoney/ashare_billboard/billboard_branch_active/__init__.py +8 -0
  18. em/channels/eastmoney/ashare_billboard/billboard_branch_active/billboard_branch_active_em.py +53 -0
  19. em/channels/eastmoney/ashare_billboard/billboard_branch_rank/__init__.py +8 -0
  20. em/channels/eastmoney/ashare_billboard/billboard_branch_rank/billboard_branch_rank_em.py +47 -0
  21. em/channels/eastmoney/ashare_billboard/billboard_branch_stats/__init__.py +8 -0
  22. em/channels/eastmoney/ashare_billboard/billboard_branch_stats/billboard_branch_stats_em.py +38 -0
  23. em/channels/eastmoney/ashare_billboard/billboard_branch_trades/__init__.py +8 -0
  24. em/channels/eastmoney/ashare_billboard/billboard_branch_trades/billboard_branch_trades_em.py +59 -0
  25. em/channels/eastmoney/ashare_billboard/billboard_detail/__init__.py +8 -0
  26. em/channels/eastmoney/ashare_billboard/billboard_detail/billboard_detail_em.py +56 -0
  27. em/channels/eastmoney/ashare_billboard/billboard_institution/__init__.py +8 -0
  28. em/channels/eastmoney/ashare_billboard/billboard_institution/billboard_institution_em.py +60 -0
  29. em/channels/eastmoney/ashare_billboard/billboard_institution_stats/__init__.py +8 -0
  30. em/channels/eastmoney/ashare_billboard/billboard_institution_stats/billboard_institution_stats_em.py +47 -0
  31. em/channels/eastmoney/ashare_billboard/billboard_stock/__init__.py +9 -0
  32. em/channels/eastmoney/ashare_billboard/billboard_stock/billboard_stock_em.py +72 -0
  33. em/channels/eastmoney/ashare_billboard/billboard_stock_dates/__init__.py +8 -0
  34. em/channels/eastmoney/ashare_billboard/billboard_stock_dates/billboard_stock_dates_em.py +32 -0
  35. em/channels/eastmoney/ashare_billboard/billboard_stock_stats/__init__.py +8 -0
  36. em/channels/eastmoney/ashare_billboard/billboard_stock_stats/billboard_stock_stats_em.py +52 -0
  37. em/channels/eastmoney/ashare_block_trade/__init__.py +1 -0
  38. em/channels/eastmoney/ashare_block_trade/block_trade_branch_active/__init__.py +9 -0
  39. em/channels/eastmoney/ashare_block_trade/block_trade_branch_active/block_trade_branch_active_em.py +53 -0
  40. em/channels/eastmoney/ashare_block_trade/block_trade_branch_rank/__init__.py +9 -0
  41. em/channels/eastmoney/ashare_block_trade/block_trade_branch_rank/block_trade_branch_rank_em.py +55 -0
  42. em/channels/eastmoney/ashare_block_trade/block_trade_detail/__init__.py +9 -0
  43. em/channels/eastmoney/ashare_block_trade/block_trade_detail/block_trade_detail_em.py +72 -0
  44. em/channels/eastmoney/ashare_block_trade/block_trade_market_daily/__init__.py +8 -0
  45. em/channels/eastmoney/ashare_block_trade/block_trade_market_daily/block_trade_market_daily_em.py +44 -0
  46. em/channels/eastmoney/ashare_block_trade/block_trade_stock_daily/__init__.py +8 -0
  47. em/channels/eastmoney/ashare_block_trade/block_trade_stock_daily/block_trade_stock_daily_em.py +60 -0
  48. em/channels/eastmoney/ashare_block_trade/block_trade_stock_stats/__init__.py +9 -0
  49. em/channels/eastmoney/ashare_block_trade/block_trade_stock_stats/block_trade_stock_stats_em.py +58 -0
  50. em/channels/eastmoney/ashare_boards/__init__.py +1 -0
  51. em/channels/eastmoney/ashare_boards/board_changes/__init__.py +7 -0
  52. em/channels/eastmoney/ashare_boards/board_changes/board_changes_em.py +10 -0
  53. em/channels/eastmoney/ashare_boards/board_constituent/__init__.py +8 -0
  54. em/channels/eastmoney/ashare_boards/board_constituent/board_constituent_em.py +21 -0
  55. em/channels/eastmoney/ashare_boards/board_fund_flow/__init__.py +8 -0
  56. em/channels/eastmoney/ashare_boards/board_fund_flow/board_fund_flow_em.py +18 -0
  57. em/channels/eastmoney/ashare_boards/board_industry_list/__init__.py +0 -0
  58. em/channels/eastmoney/ashare_boards/board_industry_list/board_industry_list_em.py +40 -0
  59. em/channels/eastmoney/ashare_boards/board_kline/__init__.py +9 -0
  60. em/channels/eastmoney/ashare_boards/board_kline/board_kline_em.py +32 -0
  61. em/channels/eastmoney/ashare_earnings/__init__.py +1 -0
  62. em/channels/eastmoney/ashare_earnings/earnings_express/__init__.py +8 -0
  63. em/channels/eastmoney/ashare_earnings/earnings_express/earnings_express_em.py +50 -0
  64. em/channels/eastmoney/ashare_earnings/earnings_forecast/__init__.py +8 -0
  65. em/channels/eastmoney/ashare_earnings/earnings_forecast/earnings_forecast_em.py +50 -0
  66. em/channels/eastmoney/ashare_earnings/earnings_report/__init__.py +8 -0
  67. em/channels/eastmoney/ashare_earnings/earnings_report/earnings_report_em.py +53 -0
  68. em/channels/eastmoney/ashare_earnings/earnings_schedule/__init__.py +8 -0
  69. em/channels/eastmoney/ashare_earnings/earnings_schedule/earnings_schedule_em.py +41 -0
  70. em/channels/eastmoney/ashare_financial_statements/__init__.py +1 -0
  71. em/channels/eastmoney/ashare_financial_statements/balance_sheet/__init__.py +8 -0
  72. em/channels/eastmoney/ashare_financial_statements/balance_sheet/balance_sheet_em.py +81 -0
  73. em/channels/eastmoney/ashare_financial_statements/cash_flow_statement/__init__.py +8 -0
  74. em/channels/eastmoney/ashare_financial_statements/cash_flow_statement/cash_flow_statement_em.py +74 -0
  75. em/channels/eastmoney/ashare_financial_statements/income_statement/__init__.py +8 -0
  76. em/channels/eastmoney/ashare_financial_statements/income_statement/income_statement_em.py +68 -0
  77. em/channels/eastmoney/ashare_indices/__init__.py +1 -0
  78. em/channels/eastmoney/ashare_indices/index_list/__init__.py +9 -0
  79. em/channels/eastmoney/ashare_indices/index_list/index_list_em.py +30 -0
  80. em/channels/eastmoney/ashare_stocks/__init__.py +1 -0
  81. em/channels/eastmoney/ashare_stocks/stock_bid_ask/__init__.py +8 -0
  82. em/channels/eastmoney/ashare_stocks/stock_bid_ask/stock_bid_ask_em.py +21 -0
  83. em/channels/eastmoney/ashare_stocks/stock_changes/__init__.py +9 -0
  84. em/channels/eastmoney/ashare_stocks/stock_changes/stock_changes_em.py +22 -0
  85. em/channels/eastmoney/ashare_stocks/stock_fund_flow/__init__.py +8 -0
  86. em/channels/eastmoney/ashare_stocks/stock_fund_flow/stock_fund_flow_em.py +18 -0
  87. em/channels/eastmoney/ashare_stocks/stock_info/__init__.py +9 -0
  88. em/channels/eastmoney/ashare_stocks/stock_info/stock_info_em.py +24 -0
  89. em/channels/eastmoney/ashare_stocks/stock_kline/__init__.py +10 -0
  90. em/channels/eastmoney/ashare_stocks/stock_kline/stock_kline_em.py +39 -0
  91. em/channels/eastmoney/ashare_stocks/stock_limit_pool/__init__.py +15 -0
  92. em/channels/eastmoney/ashare_stocks/stock_limit_pool/stock_limit_pool_em.py +53 -0
  93. em/channels/eastmoney/ashare_stocks/stock_list/__init__.py +10 -0
  94. em/channels/eastmoney/ashare_stocks/stock_list/stock_list_em.py +54 -0
  95. em/channels/eastmoney/ashare_stocks/stock_trends/__init__.py +8 -0
  96. em/channels/eastmoney/ashare_stocks/stock_trends/stock_trends_em.py +20 -0
  97. em/channels/eastmoney/bond_market/__init__.py +1 -0
  98. em/channels/eastmoney/config.py +195 -0
  99. em/channels/eastmoney/datacenter.py +345 -0
  100. em/channels/eastmoney/forex_market/__init__.py +1 -0
  101. em/channels/eastmoney/fund_market/__init__.py +1 -0
  102. em/channels/eastmoney/fund_market/fund_list/__init__.py +9 -0
  103. em/channels/eastmoney/fund_market/fund_list/fund_list_em.py +32 -0
  104. em/channels/eastmoney/futures_market/__init__.py +1 -0
  105. em/channels/eastmoney/global_indices/__init__.py +1 -0
  106. em/channels/eastmoney/gold_market/__init__.py +1 -0
  107. em/channels/eastmoney/hk_market/__init__.py +1 -0
  108. em/channels/eastmoney/hk_market/hk_stock_list/__init__.py +9 -0
  109. em/channels/eastmoney/hk_market/hk_stock_list/hk_stock_list_em.py +32 -0
  110. em/channels/eastmoney/mapping.py +668 -0
  111. em/channels/eastmoney/network.py +16 -0
  112. em/channels/eastmoney/option_market/__init__.py +1 -0
  113. em/channels/eastmoney/request.py +299 -0
  114. em/channels/eastmoney/source.py +195 -0
  115. em/channels/eastmoney/special_quotes/__init__.py +1 -0
  116. em/channels/eastmoney/stock_connect/__init__.py +1 -0
  117. em/channels/eastmoney/us_market/__init__.py +1 -0
  118. em/cli.py +774 -0
  119. em/core/__init__.py +1 -0
  120. em/core/budget.py +81 -0
  121. em/core/defaults.py +31 -0
  122. em/core/env.py +163 -0
  123. em/core/errors.py +108 -0
  124. em/core/fixed_proxy.py +75 -0
  125. em/core/proxy.py +1116 -0
  126. em/core/resilience.py +55 -0
  127. em/core/session.py +213 -0
  128. em/core/settings.py +186 -0
  129. em/core/transport.py +434 -0
  130. em/domain/__init__.py +6 -0
  131. em/domain/models.py +1062 -0
  132. em/domain/queries.py +398 -0
  133. em/domain/units.py +37 -0
  134. em/env.example +102 -0
  135. em/py.typed +0 -0
  136. emshare-0.1.1.dist-info/METADATA +123 -0
  137. emshare-0.1.1.dist-info/RECORD +141 -0
  138. emshare-0.1.1.dist-info/WHEEL +5 -0
  139. emshare-0.1.1.dist-info/entry_points.txt +2 -0
  140. emshare-0.1.1.dist-info/licenses/LICENSE +21 -0
  141. emshare-0.1.1.dist-info/top_level.txt +1 -0
em/__init__.py ADDED
@@ -0,0 +1,308 @@
1
+ """em:东方财富行情抓取包。
2
+
3
+ 分层:domain(领域模型)← core(基座)← channels(渠道)← application(组合根)。
4
+ 对外公共面统一从本模块导出,渠道明细从 ``em.channels`` 子包取。
5
+ ``*_em`` 返回领域模型(``QuotePage`` / ``KlineSeries`` / ``TrendSeries`` / ``FundFlowSeries`` 等,
6
+ ``board_kline_em`` 与 ``stock_kline_em`` 共用 ``KlineSeries``,``index_list_em`` 返回 ``IndexListPage``,``hk_stock_list_em`` 返回 ``HkStockListPage``,``fund_list_em`` 返回 ``FundListPage``,``stock_limit_pool_em`` 返回 ``LimitPoolPage``,``stock_info_em`` / ``stock_bid_ask_em`` 返回
7
+ ``StockInfo`` / ``StockBidAsk``,``stock_changes_em`` / ``board_changes_em`` 返回 ``StockChangesPage`` / ``BoardChangesPage``,
8
+ 数据中心报表(龙虎榜、大宗交易、业绩与财报等)返回 ``ReportPage``,已翻完全部页),
9
+ ``df_*_em`` 返回 pandas DataFrame(需 pandas)。
10
+ ``search`` / ``interface_info`` / ``list_categories`` 提供离线接口检索(对齐 akshare)。
11
+ ``resolve_code`` / ``resolve_board`` 提供中文名→代码解析(东财搜索接口,单请求);
12
+ ``*_by_name`` 为面向自然语言的便捷层(先 resolve 再调 ``*_em``,供 LLM/Agent 场景)。
13
+ PyPI 发行名为 ``emshare``,导入名保持 ``em``(``pip install emshare`` → ``import em``)。
14
+ 导入时自动读取运行目录下的 ``.env``(只取 ``EM_`` 开头的变量,已设置的环境变量优先),
15
+ 库调用与命令行因此用同一份配置;``EM_ENV_FILE`` 可改路径,设为 ``none`` 则不读。
16
+ """
17
+
18
+ from importlib.metadata import PackageNotFoundError, version
19
+
20
+ from em.application.catalog import (
21
+ interface_info,
22
+ interface_info_df,
23
+ list_categories,
24
+ list_categories_df,
25
+ search,
26
+ search_df,
27
+ )
28
+ from em.application.convenience import (
29
+ board_constituent_by_name,
30
+ board_fund_flow_by_name,
31
+ kline_by_name,
32
+ stock_fund_flow_by_name,
33
+ trends_by_name,
34
+ )
35
+ from em.application.dataframe import (
36
+ to_balance_sheet_dataframe,
37
+ to_billboard_branch_active_dataframe,
38
+ to_billboard_branch_rank_dataframe,
39
+ to_billboard_branch_stats_dataframe,
40
+ to_billboard_branch_trades_dataframe,
41
+ to_billboard_detail_dataframe,
42
+ to_billboard_institution_dataframe,
43
+ to_billboard_institution_stats_dataframe,
44
+ to_billboard_stock_dataframe,
45
+ to_billboard_stock_dates_dataframe,
46
+ to_billboard_stock_stats_dataframe,
47
+ to_block_trade_branch_active_dataframe,
48
+ to_block_trade_branch_rank_dataframe,
49
+ to_block_trade_detail_dataframe,
50
+ to_block_trade_market_daily_dataframe,
51
+ to_block_trade_stock_daily_dataframe,
52
+ to_block_trade_stock_stats_dataframe,
53
+ to_board_changes_dataframe,
54
+ to_board_fund_flow_dataframe,
55
+ to_board_list_dataframe,
56
+ to_cash_flow_statement_dataframe,
57
+ to_dataframe,
58
+ to_earnings_express_dataframe,
59
+ to_earnings_forecast_dataframe,
60
+ to_earnings_report_dataframe,
61
+ to_earnings_schedule_dataframe,
62
+ to_fund_flow_dataframe,
63
+ to_fund_list_dataframe,
64
+ to_hk_stock_list_dataframe,
65
+ to_income_statement_dataframe,
66
+ to_index_list_dataframe,
67
+ to_kline_dataframe,
68
+ to_limit_pool_dataframe,
69
+ to_stock_bid_ask_dataframe,
70
+ to_stock_changes_dataframe,
71
+ to_stock_info_dataframe,
72
+ to_trend_dataframe,
73
+ )
74
+ from em.application.market_data import (
75
+ balance_sheet_em,
76
+ billboard_branch_active_em,
77
+ billboard_branch_rank_em,
78
+ billboard_branch_stats_em,
79
+ billboard_branch_trades_em,
80
+ billboard_detail_em,
81
+ billboard_institution_em,
82
+ billboard_institution_stats_em,
83
+ billboard_stock_dates_em,
84
+ billboard_stock_em,
85
+ billboard_stock_stats_em,
86
+ block_trade_branch_active_em,
87
+ block_trade_branch_rank_em,
88
+ block_trade_detail_em,
89
+ block_trade_market_daily_em,
90
+ block_trade_stock_daily_em,
91
+ block_trade_stock_stats_em,
92
+ board_changes_em,
93
+ board_constituent_em,
94
+ board_fund_flow_em,
95
+ board_industry_list_em,
96
+ board_kline_em,
97
+ cash_flow_statement_em,
98
+ df_balance_sheet_em,
99
+ df_billboard_branch_active_em,
100
+ df_billboard_branch_rank_em,
101
+ df_billboard_branch_stats_em,
102
+ df_billboard_branch_trades_em,
103
+ df_billboard_detail_em,
104
+ df_billboard_institution_em,
105
+ df_billboard_institution_stats_em,
106
+ df_billboard_stock_dates_em,
107
+ df_billboard_stock_em,
108
+ df_billboard_stock_stats_em,
109
+ df_block_trade_branch_active_em,
110
+ df_block_trade_branch_rank_em,
111
+ df_block_trade_detail_em,
112
+ df_block_trade_market_daily_em,
113
+ df_block_trade_stock_daily_em,
114
+ df_block_trade_stock_stats_em,
115
+ df_board_changes_em,
116
+ df_board_constituent_em,
117
+ df_board_fund_flow_em,
118
+ df_board_industry_list_em,
119
+ df_board_kline_em,
120
+ df_cash_flow_statement_em,
121
+ df_earnings_express_em,
122
+ df_earnings_forecast_em,
123
+ df_earnings_report_em,
124
+ df_earnings_schedule_em,
125
+ df_fund_list_em,
126
+ df_hk_stock_list_em,
127
+ df_income_statement_em,
128
+ df_index_list_em,
129
+ df_stock_bid_ask_em,
130
+ df_stock_changes_em,
131
+ df_stock_fund_flow_em,
132
+ df_stock_info_em,
133
+ df_stock_kline_em,
134
+ df_stock_limit_pool_em,
135
+ df_stock_list_all_em,
136
+ df_stock_list_em,
137
+ df_stock_trends_em,
138
+ earnings_express_em,
139
+ earnings_forecast_em,
140
+ earnings_report_em,
141
+ earnings_schedule_em,
142
+ fund_list_em,
143
+ hk_stock_list_em,
144
+ income_statement_em,
145
+ index_list_em,
146
+ stock_bid_ask_em,
147
+ stock_changes_em,
148
+ stock_fund_flow_em,
149
+ stock_info_em,
150
+ stock_kline_em,
151
+ stock_limit_pool_em,
152
+ stock_list_all_em,
153
+ stock_list_em,
154
+ stock_trends_em,
155
+ )
156
+ from em.application.resolve import (
157
+ BoardRef,
158
+ StockRef,
159
+ reset_resolve_cache,
160
+ resolve_board,
161
+ resolve_code,
162
+ )
163
+ from em.core.env import autoload as _autoload_env
164
+
165
+ # 配置在取数时才读(Settings.from_env),所以放在导入之后也来得及;
166
+ # 命令行同样先经过这里,不需要再单独加载一遍。
167
+ _autoload_env()
168
+
169
+ try:
170
+ __version__ = version("emshare")
171
+ except PackageNotFoundError: # 源码检出且未安装分发时
172
+ __version__ = "0+unknown"
173
+
174
+ __all__ = [
175
+ "BoardRef",
176
+ "StockRef",
177
+ "balance_sheet_em",
178
+ "billboard_branch_active_em",
179
+ "billboard_branch_rank_em",
180
+ "billboard_branch_stats_em",
181
+ "billboard_branch_trades_em",
182
+ "billboard_detail_em",
183
+ "billboard_institution_em",
184
+ "billboard_institution_stats_em",
185
+ "billboard_stock_dates_em",
186
+ "billboard_stock_em",
187
+ "billboard_stock_stats_em",
188
+ "block_trade_branch_active_em",
189
+ "block_trade_branch_rank_em",
190
+ "block_trade_detail_em",
191
+ "block_trade_market_daily_em",
192
+ "block_trade_stock_daily_em",
193
+ "block_trade_stock_stats_em",
194
+ "board_changes_em",
195
+ "board_constituent_by_name",
196
+ "board_constituent_em",
197
+ "board_fund_flow_by_name",
198
+ "board_fund_flow_em",
199
+ "board_industry_list_em",
200
+ "board_kline_em",
201
+ "cash_flow_statement_em",
202
+ "df_balance_sheet_em",
203
+ "df_billboard_branch_active_em",
204
+ "df_billboard_branch_rank_em",
205
+ "df_billboard_branch_stats_em",
206
+ "df_billboard_branch_trades_em",
207
+ "df_billboard_detail_em",
208
+ "df_billboard_institution_em",
209
+ "df_billboard_institution_stats_em",
210
+ "df_billboard_stock_dates_em",
211
+ "df_billboard_stock_em",
212
+ "df_billboard_stock_stats_em",
213
+ "df_block_trade_branch_active_em",
214
+ "df_block_trade_branch_rank_em",
215
+ "df_block_trade_detail_em",
216
+ "df_block_trade_market_daily_em",
217
+ "df_block_trade_stock_daily_em",
218
+ "df_block_trade_stock_stats_em",
219
+ "df_board_changes_em",
220
+ "df_board_constituent_em",
221
+ "df_board_fund_flow_em",
222
+ "df_board_industry_list_em",
223
+ "df_board_kline_em",
224
+ "df_cash_flow_statement_em",
225
+ "df_earnings_express_em",
226
+ "df_earnings_forecast_em",
227
+ "df_earnings_report_em",
228
+ "df_earnings_schedule_em",
229
+ "df_fund_list_em",
230
+ "df_hk_stock_list_em",
231
+ "df_income_statement_em",
232
+ "df_index_list_em",
233
+ "df_stock_bid_ask_em",
234
+ "df_stock_changes_em",
235
+ "df_stock_fund_flow_em",
236
+ "df_stock_info_em",
237
+ "df_stock_kline_em",
238
+ "df_stock_limit_pool_em",
239
+ "df_stock_list_all_em",
240
+ "df_stock_list_em",
241
+ "df_stock_trends_em",
242
+ "earnings_express_em",
243
+ "earnings_forecast_em",
244
+ "earnings_report_em",
245
+ "earnings_schedule_em",
246
+ "fund_list_em",
247
+ "hk_stock_list_em",
248
+ "income_statement_em",
249
+ "index_list_em",
250
+ "interface_info",
251
+ "interface_info_df",
252
+ "kline_by_name",
253
+ "list_categories",
254
+ "list_categories_df",
255
+ "reset_resolve_cache",
256
+ "resolve_board",
257
+ "resolve_code",
258
+ "search",
259
+ "search_df",
260
+ "stock_bid_ask_em",
261
+ "stock_changes_em",
262
+ "stock_fund_flow_by_name",
263
+ "stock_fund_flow_em",
264
+ "stock_info_em",
265
+ "stock_kline_em",
266
+ "stock_limit_pool_em",
267
+ "stock_list_all_em",
268
+ "stock_list_em",
269
+ "stock_trends_em",
270
+ "to_balance_sheet_dataframe",
271
+ "to_billboard_branch_active_dataframe",
272
+ "to_billboard_branch_rank_dataframe",
273
+ "to_billboard_branch_stats_dataframe",
274
+ "to_billboard_branch_trades_dataframe",
275
+ "to_billboard_detail_dataframe",
276
+ "to_billboard_institution_dataframe",
277
+ "to_billboard_institution_stats_dataframe",
278
+ "to_billboard_stock_dataframe",
279
+ "to_billboard_stock_dates_dataframe",
280
+ "to_billboard_stock_stats_dataframe",
281
+ "to_block_trade_branch_active_dataframe",
282
+ "to_block_trade_branch_rank_dataframe",
283
+ "to_block_trade_detail_dataframe",
284
+ "to_block_trade_market_daily_dataframe",
285
+ "to_block_trade_stock_daily_dataframe",
286
+ "to_block_trade_stock_stats_dataframe",
287
+ "to_board_changes_dataframe",
288
+ "to_board_fund_flow_dataframe",
289
+ "to_board_list_dataframe",
290
+ "to_cash_flow_statement_dataframe",
291
+ "to_dataframe",
292
+ "to_earnings_express_dataframe",
293
+ "to_earnings_forecast_dataframe",
294
+ "to_earnings_report_dataframe",
295
+ "to_earnings_schedule_dataframe",
296
+ "to_fund_flow_dataframe",
297
+ "to_fund_list_dataframe",
298
+ "to_hk_stock_list_dataframe",
299
+ "to_income_statement_dataframe",
300
+ "to_index_list_dataframe",
301
+ "to_kline_dataframe",
302
+ "to_limit_pool_dataframe",
303
+ "to_stock_bid_ask_dataframe",
304
+ "to_stock_changes_dataframe",
305
+ "to_stock_info_dataframe",
306
+ "to_trend_dataframe",
307
+ "trends_by_name",
308
+ ]
em/__main__.py ADDED
@@ -0,0 +1,8 @@
1
+ """支持 ``python3 -m em`` 调用。"""
2
+
3
+ import sys
4
+
5
+ from em.cli import main
6
+
7
+ if __name__ == "__main__":
8
+ sys.exit(main())
@@ -0,0 +1 @@
1
+ """应用层(组合根):装配 core 与渠道,对外暴露公共面。"""