tradingview-mcp 26.0.0__py3-none-any.whl → 26.3.0__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.
- tradingview_mcp/constants.py +100 -331
- tradingview_mcp/data/extracted/ai_quick_reference.json +130 -131
- tradingview_mcp/data/extracted/common_fields.json +5185 -1450
- tradingview_mcp/data/extracted/fields_by_market.json +23704 -3429
- tradingview_mcp/data/extracted/stock_screener_presets.json +1871 -0
- tradingview_mcp/docs_data.py +353 -98
- tradingview_mcp/resources.py +63 -0
- tradingview_mcp/server.py +130 -2030
- tradingview_mcp/tools/__init__.py +0 -0
- tradingview_mcp/tools/reference.py +70 -0
- tradingview_mcp/tools/screener.py +87 -0
- tradingview_mcp/tools/search.py +326 -0
- tradingview_mcp/tools/technical.py +113 -0
- tradingview_mcp-26.3.0.dist-info/METADATA +148 -0
- {tradingview_mcp-26.0.0.dist-info → tradingview_mcp-26.3.0.dist-info}/RECORD +18 -11
- tradingview_mcp-26.0.0.dist-info/METADATA +0 -333
- {tradingview_mcp-26.0.0.dist-info → tradingview_mcp-26.3.0.dist-info}/WHEEL +0 -0
- {tradingview_mcp-26.0.0.dist-info → tradingview_mcp-26.3.0.dist-info}/entry_points.txt +0 -0
- {tradingview_mcp-26.0.0.dist-info → tradingview_mcp-26.3.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -2,73 +2,73 @@
|
|
|
2
2
|
"markets": {
|
|
3
3
|
"stocks": [
|
|
4
4
|
"america",
|
|
5
|
-
"
|
|
6
|
-
"germany",
|
|
7
|
-
"japan",
|
|
8
|
-
"china",
|
|
9
|
-
"india",
|
|
10
|
-
"brazil",
|
|
11
|
-
"canada",
|
|
5
|
+
"argentina",
|
|
12
6
|
"australia",
|
|
13
|
-
"korea",
|
|
14
|
-
"taiwan",
|
|
15
|
-
"hongkong",
|
|
16
|
-
"singapore",
|
|
17
|
-
"france",
|
|
18
|
-
"italy",
|
|
19
|
-
"spain",
|
|
20
|
-
"netherlands",
|
|
21
|
-
"switzerland",
|
|
22
|
-
"sweden",
|
|
23
|
-
"norway",
|
|
24
|
-
"denmark",
|
|
25
|
-
"finland",
|
|
26
7
|
"austria",
|
|
8
|
+
"bahrain",
|
|
9
|
+
"bangladesh",
|
|
27
10
|
"belgium",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"russia",
|
|
31
|
-
"turkey",
|
|
32
|
-
"israel",
|
|
33
|
-
"mexico",
|
|
34
|
-
"argentina",
|
|
11
|
+
"brazil",
|
|
12
|
+
"canada",
|
|
35
13
|
"chile",
|
|
14
|
+
"china",
|
|
36
15
|
"colombia",
|
|
37
|
-
"peru",
|
|
38
|
-
"venezuela",
|
|
39
|
-
"indonesia",
|
|
40
|
-
"malaysia",
|
|
41
|
-
"thailand",
|
|
42
|
-
"philippines",
|
|
43
|
-
"vietnam",
|
|
44
|
-
"pakistan",
|
|
45
|
-
"bangladesh",
|
|
46
|
-
"srilanka",
|
|
47
|
-
"newzealand",
|
|
48
|
-
"egypt",
|
|
49
|
-
"rsa",
|
|
50
|
-
"nigeria",
|
|
51
|
-
"kenya",
|
|
52
|
-
"morocco",
|
|
53
|
-
"tunisia",
|
|
54
|
-
"bahrain",
|
|
55
|
-
"kuwait",
|
|
56
|
-
"qatar",
|
|
57
|
-
"uae",
|
|
58
|
-
"ksa",
|
|
59
16
|
"cyprus",
|
|
60
17
|
"czech",
|
|
18
|
+
"denmark",
|
|
19
|
+
"egypt",
|
|
61
20
|
"estonia",
|
|
21
|
+
"finland",
|
|
22
|
+
"france",
|
|
23
|
+
"germany",
|
|
62
24
|
"greece",
|
|
25
|
+
"hongkong",
|
|
63
26
|
"hungary",
|
|
64
27
|
"iceland",
|
|
28
|
+
"india",
|
|
29
|
+
"indonesia",
|
|
65
30
|
"ireland",
|
|
31
|
+
"israel",
|
|
32
|
+
"italy",
|
|
33
|
+
"japan",
|
|
34
|
+
"kenya",
|
|
35
|
+
"korea",
|
|
36
|
+
"ksa",
|
|
37
|
+
"kuwait",
|
|
66
38
|
"latvia",
|
|
67
39
|
"lithuania",
|
|
68
40
|
"luxembourg",
|
|
41
|
+
"malaysia",
|
|
42
|
+
"mexico",
|
|
43
|
+
"morocco",
|
|
44
|
+
"netherlands",
|
|
45
|
+
"newzealand",
|
|
46
|
+
"nigeria",
|
|
47
|
+
"norway",
|
|
48
|
+
"pakistan",
|
|
49
|
+
"peru",
|
|
50
|
+
"philippines",
|
|
51
|
+
"poland",
|
|
52
|
+
"portugal",
|
|
53
|
+
"qatar",
|
|
69
54
|
"romania",
|
|
55
|
+
"rsa",
|
|
56
|
+
"russia",
|
|
70
57
|
"serbia",
|
|
71
|
-
"
|
|
58
|
+
"singapore",
|
|
59
|
+
"slovakia",
|
|
60
|
+
"spain",
|
|
61
|
+
"srilanka",
|
|
62
|
+
"sweden",
|
|
63
|
+
"switzerland",
|
|
64
|
+
"taiwan",
|
|
65
|
+
"thailand",
|
|
66
|
+
"tunisia",
|
|
67
|
+
"turkey",
|
|
68
|
+
"uae",
|
|
69
|
+
"uk",
|
|
70
|
+
"venezuela",
|
|
71
|
+
"vietnam"
|
|
72
72
|
],
|
|
73
73
|
"crypto": [
|
|
74
74
|
"crypto"
|
|
@@ -99,114 +99,113 @@
|
|
|
99
99
|
"common_columns": {
|
|
100
100
|
"price": [
|
|
101
101
|
"close",
|
|
102
|
-
"open",
|
|
103
|
-
"high",
|
|
104
|
-
"low",
|
|
105
102
|
"change",
|
|
106
103
|
"change_abs",
|
|
107
|
-
"
|
|
104
|
+
"high",
|
|
105
|
+
"low",
|
|
106
|
+
"open"
|
|
108
107
|
],
|
|
109
108
|
"volume": [
|
|
110
109
|
"volume",
|
|
111
110
|
"Value.Traded",
|
|
112
|
-
"relative_volume_10d_calc"
|
|
113
|
-
"average_volume_10d_calc"
|
|
111
|
+
"relative_volume_10d_calc"
|
|
114
112
|
],
|
|
115
113
|
"market_cap": [
|
|
116
|
-
"market_cap_basic"
|
|
114
|
+
"market_cap_basic",
|
|
115
|
+
"market_cap_calc"
|
|
117
116
|
],
|
|
118
|
-
"
|
|
117
|
+
"fundamental": [
|
|
119
118
|
"price_earnings_ttm",
|
|
120
119
|
"earnings_per_share_basic_ttm",
|
|
121
|
-
"
|
|
122
|
-
"
|
|
120
|
+
"dividends_yield_current",
|
|
121
|
+
"total_revenue_fy",
|
|
122
|
+
"net_income_fy"
|
|
123
123
|
],
|
|
124
124
|
"technical": [
|
|
125
|
+
"Recommend.All",
|
|
125
126
|
"RSI",
|
|
126
127
|
"MACD.macd",
|
|
127
|
-
"MACD.signal",
|
|
128
128
|
"BB.upper",
|
|
129
129
|
"BB.lower",
|
|
130
|
-
"SMA20",
|
|
131
130
|
"SMA50",
|
|
132
131
|
"SMA200",
|
|
133
|
-
"EMA20",
|
|
134
132
|
"EMA50",
|
|
135
133
|
"EMA200"
|
|
136
134
|
],
|
|
137
|
-
"
|
|
138
|
-
"Recommend.All",
|
|
139
|
-
"Recommend.MA",
|
|
140
|
-
"Recommend.Other"
|
|
141
|
-
],
|
|
142
|
-
"info": [
|
|
135
|
+
"metadata": [
|
|
143
136
|
"name",
|
|
144
137
|
"description",
|
|
145
138
|
"sector",
|
|
146
|
-
"industry",
|
|
147
139
|
"exchange",
|
|
148
140
|
"type",
|
|
149
|
-
"
|
|
141
|
+
"currency"
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
"filter_operations": {
|
|
145
|
+
"comparison": [
|
|
146
|
+
"greater",
|
|
147
|
+
"less",
|
|
148
|
+
"equal",
|
|
149
|
+
"not_equal",
|
|
150
|
+
"greater_or_equal",
|
|
151
|
+
"less_or_equal"
|
|
152
|
+
],
|
|
153
|
+
"range": [
|
|
154
|
+
"in_range",
|
|
155
|
+
"not_in_range"
|
|
156
|
+
],
|
|
157
|
+
"list": [
|
|
158
|
+
"in_list",
|
|
159
|
+
"not_in_list"
|
|
160
|
+
],
|
|
161
|
+
"text": [
|
|
162
|
+
"match",
|
|
163
|
+
"not_match",
|
|
164
|
+
"has",
|
|
165
|
+
"has_none_of"
|
|
166
|
+
],
|
|
167
|
+
"null": [
|
|
168
|
+
"empty",
|
|
169
|
+
"not_empty"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"field_type_operations": {
|
|
173
|
+
"number": [
|
|
174
|
+
"greater",
|
|
175
|
+
"less",
|
|
176
|
+
"equal",
|
|
177
|
+
"in_range",
|
|
178
|
+
"empty"
|
|
179
|
+
],
|
|
180
|
+
"percent": [
|
|
181
|
+
"greater",
|
|
182
|
+
"less",
|
|
183
|
+
"equal",
|
|
184
|
+
"in_range"
|
|
185
|
+
],
|
|
186
|
+
"price": [
|
|
187
|
+
"greater",
|
|
188
|
+
"less",
|
|
189
|
+
"equal",
|
|
190
|
+
"in_range"
|
|
191
|
+
],
|
|
192
|
+
"text": [
|
|
193
|
+
"equal",
|
|
194
|
+
"match",
|
|
195
|
+
"in_list",
|
|
196
|
+
"has"
|
|
197
|
+
],
|
|
198
|
+
"bool": [
|
|
199
|
+
"equal"
|
|
150
200
|
]
|
|
151
201
|
},
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
|
|
161
|
-
"has_none_of",
|
|
162
|
-
"isin",
|
|
163
|
-
"not_isin",
|
|
164
|
-
"match",
|
|
165
|
-
"crosses",
|
|
166
|
-
"crosses_above",
|
|
167
|
-
"crosses_below"
|
|
168
|
-
],
|
|
169
|
-
"sort_order": [
|
|
170
|
-
"asc",
|
|
171
|
-
"desc"
|
|
172
|
-
],
|
|
173
|
-
"timeframes": [
|
|
174
|
-
"",
|
|
175
|
-
"1",
|
|
176
|
-
"5",
|
|
177
|
-
"15",
|
|
178
|
-
"30",
|
|
179
|
-
"60",
|
|
180
|
-
"120",
|
|
181
|
-
"240",
|
|
182
|
-
"1W",
|
|
183
|
-
"1M"
|
|
184
|
-
],
|
|
185
|
-
"common_filters": {
|
|
186
|
-
"stocks_only": {
|
|
187
|
-
"left": "type",
|
|
188
|
-
"operation": "equal",
|
|
189
|
-
"right": "stock"
|
|
190
|
-
},
|
|
191
|
-
"primary_listing": {
|
|
192
|
-
"left": "is_primary",
|
|
193
|
-
"operation": "equal",
|
|
194
|
-
"right": true
|
|
195
|
-
},
|
|
196
|
-
"active_trading": {
|
|
197
|
-
"left": "active_symbol",
|
|
198
|
-
"operation": "equal",
|
|
199
|
-
"right": true
|
|
200
|
-
},
|
|
201
|
-
"min_volume": {
|
|
202
|
-
"left": "volume",
|
|
203
|
-
"operation": "gt",
|
|
204
|
-
"right": 100000
|
|
205
|
-
},
|
|
206
|
-
"min_market_cap": {
|
|
207
|
-
"left": "market_cap_basic",
|
|
208
|
-
"operation": "gt",
|
|
209
|
-
"right": 1000000000
|
|
210
|
-
}
|
|
211
|
-
}
|
|
202
|
+
"screener_examples": [
|
|
203
|
+
"Stocks (legacy)",
|
|
204
|
+
"Stocks (v2)",
|
|
205
|
+
"Forex",
|
|
206
|
+
"Crypto",
|
|
207
|
+
"Crypto Coins",
|
|
208
|
+
"ETFs",
|
|
209
|
+
"Bonds"
|
|
210
|
+
]
|
|
212
211
|
}
|