cnhkmcp 2.1.4__py3-none-any.whl → 2.1.5__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.
- cnhkmcp/__init__.py +126 -126
- cnhkmcp/untracked/back_up/forum_functions.py +998 -0
- cnhkmcp/untracked/back_up/platform_functions.py +2886 -0
- cnhkmcp/untracked/brain-consultant.md +31 -0
- cnhkmcp/untracked/forum_functions.py +350 -941
- cnhkmcp/untracked/platform_functions.py +445 -730
- cnhkmcp/untracked//321/211/320/225/320/235/321/207/342/225/234/320/276/321/205/320/231/320/235/321/210/342/224/220/320/240/321/210/320/261/320/234/321/206/320/230/320/241_/321/205/320/276/320/231/321/210/320/263/320/225/321/205/342/224/220/320/225/321/210/320/266/320/221/321/204/342/225/233/320/255/321/210/342/225/241/320/246/321/205/320/234/320/225.py +3 -1
- {cnhkmcp-2.1.4.dist-info → cnhkmcp-2.1.5.dist-info}/METADATA +1 -1
- {cnhkmcp-2.1.4.dist-info → cnhkmcp-2.1.5.dist-info}/RECORD +13 -11
- cnhkmcp/untracked/APP/simulator/wqb20260107015647.log +0 -57
- {cnhkmcp-2.1.4.dist-info → cnhkmcp-2.1.5.dist-info}/WHEEL +0 -0
- {cnhkmcp-2.1.4.dist-info → cnhkmcp-2.1.5.dist-info}/entry_points.txt +0 -0
- {cnhkmcp-2.1.4.dist-info → cnhkmcp-2.1.5.dist-info}/licenses/LICENSE +0 -0
- {cnhkmcp-2.1.4.dist-info → cnhkmcp-2.1.5.dist-info}/top_level.txt +0 -0
cnhkmcp/__init__.py
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
"""
|
|
2
|
-
CNHK MCP Server - A comprehensive Model Context Protocol server for quantitative trading platform integration.
|
|
3
|
-
"""
|
|
4
|
-
|
|
5
|
-
from .untracked.platform_functions import (
|
|
6
|
-
BrainApiClient,
|
|
7
|
-
authenticate,
|
|
8
|
-
create_simulation,
|
|
9
|
-
get_simulation_status,
|
|
10
|
-
wait_for_simulation,
|
|
11
|
-
get_alpha_details,
|
|
12
|
-
get_datasets,
|
|
13
|
-
get_datafields,
|
|
14
|
-
get_alpha_pnl,
|
|
15
|
-
get_user_alphas,
|
|
16
|
-
submit_alpha,
|
|
17
|
-
get_events,
|
|
18
|
-
get_leaderboard,
|
|
19
|
-
batch_process_alphas,
|
|
20
|
-
analyze_alpha_performance,
|
|
21
|
-
get_operators,
|
|
22
|
-
run_selection,
|
|
23
|
-
get_user_profile,
|
|
24
|
-
get_tutorials,
|
|
25
|
-
get_messages_summary,
|
|
26
|
-
get_messages,
|
|
27
|
-
get_alpha_record_sets,
|
|
28
|
-
check_production_correlation,
|
|
29
|
-
check_self_correlation,
|
|
30
|
-
get_submission_check,
|
|
31
|
-
set_alpha_properties,
|
|
32
|
-
get_user_activities,
|
|
33
|
-
get_pyramid_multipliers,
|
|
34
|
-
get_pyramid_alphas,
|
|
35
|
-
get_user_competitions,
|
|
36
|
-
get_competition_details,
|
|
37
|
-
get_competition_agreement,
|
|
38
|
-
get_instrument_options,
|
|
39
|
-
performance_comparison,
|
|
40
|
-
combine_test_results,
|
|
41
|
-
generate_alpha_links,
|
|
42
|
-
get_tutorial_page,
|
|
43
|
-
get_tutorial_badge_status
|
|
44
|
-
)
|
|
45
|
-
|
|
46
|
-
from .untracked.forum_functions import (
|
|
47
|
-
ForumClient,
|
|
48
|
-
get_glossary_terms,
|
|
49
|
-
search_forum_posts,
|
|
50
|
-
read_full_forum_post
|
|
51
|
-
)
|
|
52
|
-
|
|
53
|
-
__version__ = "2.1.
|
|
54
|
-
__author__ = "CNHK"
|
|
55
|
-
__email__ = "cnhk@example.com"
|
|
56
|
-
|
|
57
|
-
__all__ = [
|
|
58
|
-
# Main API client
|
|
59
|
-
"BrainApiClient",
|
|
60
|
-
|
|
61
|
-
# Authentication
|
|
62
|
-
"authenticate",
|
|
63
|
-
|
|
64
|
-
# Simulation management
|
|
65
|
-
"create_simulation",
|
|
66
|
-
"get_simulation_status",
|
|
67
|
-
"wait_for_simulation",
|
|
68
|
-
|
|
69
|
-
# Alpha management
|
|
70
|
-
"get_alpha_details",
|
|
71
|
-
"submit_alpha",
|
|
72
|
-
"get_user_alphas",
|
|
73
|
-
"get_alpha_pnl",
|
|
74
|
-
"get_alpha_record_sets",
|
|
75
|
-
"set_alpha_properties",
|
|
76
|
-
"check_production_correlation",
|
|
77
|
-
"check_self_correlation",
|
|
78
|
-
"get_submission_check",
|
|
79
|
-
|
|
80
|
-
# Data access
|
|
81
|
-
"get_datasets",
|
|
82
|
-
"get_datafields",
|
|
83
|
-
"get_operators",
|
|
84
|
-
"run_selection",
|
|
85
|
-
"get_instrument_options",
|
|
86
|
-
|
|
87
|
-
# Performance analysis
|
|
88
|
-
"analyze_alpha_performance",
|
|
89
|
-
"performance_comparison",
|
|
90
|
-
"combine_test_results",
|
|
91
|
-
|
|
92
|
-
# User management
|
|
93
|
-
"get_user_profile",
|
|
94
|
-
"get_user_activities",
|
|
95
|
-
"get_user_competitions",
|
|
96
|
-
|
|
97
|
-
# Competition and events
|
|
98
|
-
"get_events",
|
|
99
|
-
"get_leaderboard",
|
|
100
|
-
"get_competition_details",
|
|
101
|
-
"get_competition_agreement",
|
|
102
|
-
|
|
103
|
-
# Pyramid system
|
|
104
|
-
"get_pyramid_multipliers",
|
|
105
|
-
"get_pyramid_alphas",
|
|
106
|
-
|
|
107
|
-
# Tutorials and documentation
|
|
108
|
-
"get_tutorials",
|
|
109
|
-
"get_tutorial_page",
|
|
110
|
-
"get_tutorial_badge_status",
|
|
111
|
-
|
|
112
|
-
# Messages
|
|
113
|
-
"get_messages_summary",
|
|
114
|
-
"get_messages",
|
|
115
|
-
|
|
116
|
-
# Utilities
|
|
117
|
-
"batch_process_alphas",
|
|
118
|
-
"generate_alpha_links",
|
|
119
|
-
|
|
120
|
-
# Forum functionality
|
|
121
|
-
"ForumClient",
|
|
122
|
-
"get_glossary_terms",
|
|
123
|
-
"search_forum_posts",
|
|
124
|
-
"read_full_forum_post"
|
|
125
|
-
]
|
|
126
|
-
|
|
1
|
+
"""
|
|
2
|
+
CNHK MCP Server - A comprehensive Model Context Protocol server for quantitative trading platform integration.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from .untracked.platform_functions import (
|
|
6
|
+
BrainApiClient,
|
|
7
|
+
authenticate,
|
|
8
|
+
create_simulation,
|
|
9
|
+
get_simulation_status,
|
|
10
|
+
wait_for_simulation,
|
|
11
|
+
get_alpha_details,
|
|
12
|
+
get_datasets,
|
|
13
|
+
get_datafields,
|
|
14
|
+
get_alpha_pnl,
|
|
15
|
+
get_user_alphas,
|
|
16
|
+
submit_alpha,
|
|
17
|
+
get_events,
|
|
18
|
+
get_leaderboard,
|
|
19
|
+
batch_process_alphas,
|
|
20
|
+
analyze_alpha_performance,
|
|
21
|
+
get_operators,
|
|
22
|
+
run_selection,
|
|
23
|
+
get_user_profile,
|
|
24
|
+
get_tutorials,
|
|
25
|
+
get_messages_summary,
|
|
26
|
+
get_messages,
|
|
27
|
+
get_alpha_record_sets,
|
|
28
|
+
check_production_correlation,
|
|
29
|
+
check_self_correlation,
|
|
30
|
+
get_submission_check,
|
|
31
|
+
set_alpha_properties,
|
|
32
|
+
get_user_activities,
|
|
33
|
+
get_pyramid_multipliers,
|
|
34
|
+
get_pyramid_alphas,
|
|
35
|
+
get_user_competitions,
|
|
36
|
+
get_competition_details,
|
|
37
|
+
get_competition_agreement,
|
|
38
|
+
get_instrument_options,
|
|
39
|
+
performance_comparison,
|
|
40
|
+
combine_test_results,
|
|
41
|
+
generate_alpha_links,
|
|
42
|
+
get_tutorial_page,
|
|
43
|
+
get_tutorial_badge_status
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
from .untracked.forum_functions import (
|
|
47
|
+
ForumClient,
|
|
48
|
+
get_glossary_terms,
|
|
49
|
+
search_forum_posts,
|
|
50
|
+
read_full_forum_post
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
__version__ = "2.1.5"
|
|
54
|
+
__author__ = "CNHK"
|
|
55
|
+
__email__ = "cnhk@example.com"
|
|
56
|
+
|
|
57
|
+
__all__ = [
|
|
58
|
+
# Main API client
|
|
59
|
+
"BrainApiClient",
|
|
60
|
+
|
|
61
|
+
# Authentication
|
|
62
|
+
"authenticate",
|
|
63
|
+
|
|
64
|
+
# Simulation management
|
|
65
|
+
"create_simulation",
|
|
66
|
+
"get_simulation_status",
|
|
67
|
+
"wait_for_simulation",
|
|
68
|
+
|
|
69
|
+
# Alpha management
|
|
70
|
+
"get_alpha_details",
|
|
71
|
+
"submit_alpha",
|
|
72
|
+
"get_user_alphas",
|
|
73
|
+
"get_alpha_pnl",
|
|
74
|
+
"get_alpha_record_sets",
|
|
75
|
+
"set_alpha_properties",
|
|
76
|
+
"check_production_correlation",
|
|
77
|
+
"check_self_correlation",
|
|
78
|
+
"get_submission_check",
|
|
79
|
+
|
|
80
|
+
# Data access
|
|
81
|
+
"get_datasets",
|
|
82
|
+
"get_datafields",
|
|
83
|
+
"get_operators",
|
|
84
|
+
"run_selection",
|
|
85
|
+
"get_instrument_options",
|
|
86
|
+
|
|
87
|
+
# Performance analysis
|
|
88
|
+
"analyze_alpha_performance",
|
|
89
|
+
"performance_comparison",
|
|
90
|
+
"combine_test_results",
|
|
91
|
+
|
|
92
|
+
# User management
|
|
93
|
+
"get_user_profile",
|
|
94
|
+
"get_user_activities",
|
|
95
|
+
"get_user_competitions",
|
|
96
|
+
|
|
97
|
+
# Competition and events
|
|
98
|
+
"get_events",
|
|
99
|
+
"get_leaderboard",
|
|
100
|
+
"get_competition_details",
|
|
101
|
+
"get_competition_agreement",
|
|
102
|
+
|
|
103
|
+
# Pyramid system
|
|
104
|
+
"get_pyramid_multipliers",
|
|
105
|
+
"get_pyramid_alphas",
|
|
106
|
+
|
|
107
|
+
# Tutorials and documentation
|
|
108
|
+
"get_tutorials",
|
|
109
|
+
"get_tutorial_page",
|
|
110
|
+
"get_tutorial_badge_status",
|
|
111
|
+
|
|
112
|
+
# Messages
|
|
113
|
+
"get_messages_summary",
|
|
114
|
+
"get_messages",
|
|
115
|
+
|
|
116
|
+
# Utilities
|
|
117
|
+
"batch_process_alphas",
|
|
118
|
+
"generate_alpha_links",
|
|
119
|
+
|
|
120
|
+
# Forum functionality
|
|
121
|
+
"ForumClient",
|
|
122
|
+
"get_glossary_terms",
|
|
123
|
+
"search_forum_posts",
|
|
124
|
+
"read_full_forum_post"
|
|
125
|
+
]
|
|
126
|
+
|