File tree Expand file tree Collapse file tree 5 files changed +0
-122
lines changed
Expand file tree Collapse file tree 5 files changed +0
-122
lines changed Original file line number Diff line number Diff line change 1515 Leaderboard ,
1616 Liquidation ,
1717 PlatformStatus ,
18- PulseProfile ,
1918 Statistic ,
2019 TickersHistory ,
2120 TradingMarketAveragePrice ,
@@ -323,9 +322,6 @@ def get_funding_stats(
323322 data = self ._m .get (f"funding/stats/{ symbol } /hist" , params = params )
324323 return [serializers .FundingStatistic .parse (* sub_data ) for sub_data in data ]
325324
326- def get_pulse_profile_details (self , nickname : str ) -> PulseProfile :
327- return serializers .PulseProfile .parse (* self ._m .get (f"pulse/profile/{ nickname } " ))
328-
329325 def get_trading_market_average_price (
330326 self ,
331327 symbol : str ,
Original file line number Diff line number Diff line change 4242 PositionIncrease ,
4343 PositionIncreaseInfo ,
4444 PositionSnapshot ,
45- PulseMessage ,
46- PulseProfile ,
4745 Statistic ,
4846 SymbolMarginInfo ,
4947 TickersHistory ,
Original file line number Diff line number Diff line change @@ -161,37 +161,6 @@ class FundingStatistic(_Type):
161161 funding_below_threshold : float
162162
163163
164- @dataclass
165- class PulseProfile (_Type ):
166- puid : str
167- mts : int
168- nickname : str
169- picture : str
170- text : str
171- twitter_handle : str
172- followers : int
173- following : int
174- tipping_status : int
175-
176-
177- @dataclass
178- class PulseMessage (_Type ):
179- pid : str
180- mts : int
181- puid : str
182- title : str
183- content : str
184- is_pin : int
185- is_public : int
186- comments_disabled : int
187- tags : List [str ]
188- attachments : List [str ]
189- meta : List [Dict [str , Any ]]
190- likes : int
191- profile : PulseProfile
192- comments : int
193-
194-
195164@dataclass
196165class TradingMarketAveragePrice (_Type ):
197166 price_avg : float
Original file line number Diff line number Diff line change 2323 "Liquidation" ,
2424 "Leaderboard" ,
2525 "FundingStatistic" ,
26- "PulseProfile" ,
27- "PulseMessage" ,
2826 "TradingMarketAveragePrice" ,
2927 "FundingMarketAveragePrice" ,
3028 "FxRate" ,
257255 ],
258256)
259257
260- PulseProfile = generate_labeler_serializer (
261- name = "PulseProfile" ,
262- klass = dataclasses .PulseProfile ,
263- labels = [
264- "puid" ,
265- "mts" ,
266- "_PLACEHOLDER" ,
267- "nickname" ,
268- "_PLACEHOLDER" ,
269- "picture" ,
270- "text" ,
271- "_PLACEHOLDER" ,
272- "_PLACEHOLDER" ,
273- "twitter_handle" ,
274- "_PLACEHOLDER" ,
275- "followers" ,
276- "following" ,
277- "_PLACEHOLDER" ,
278- "_PLACEHOLDER" ,
279- "_PLACEHOLDER" ,
280- "tipping_status" ,
281- ],
282- )
283-
284- PulseMessage = generate_recursive_serializer (
285- name = "PulseMessage" ,
286- klass = dataclasses .PulseMessage ,
287- serializers = {"profile" : PulseProfile },
288- labels = [
289- "pid" ,
290- "mts" ,
291- "_PLACEHOLDER" ,
292- "puid" ,
293- "_PLACEHOLDER" ,
294- "title" ,
295- "content" ,
296- "_PLACEHOLDER" ,
297- "_PLACEHOLDER" ,
298- "is_pin" ,
299- "is_public" ,
300- "comments_disabled" ,
301- "tags" ,
302- "attachments" ,
303- "meta" ,
304- "likes" ,
305- "_PLACEHOLDER" ,
306- "_PLACEHOLDER" ,
307- "profile" ,
308- "comments" ,
309- "_PLACEHOLDER" ,
310- "_PLACEHOLDER" ,
311- ],
312- )
313-
314258TradingMarketAveragePrice = generate_labeler_serializer (
315259 name = "TradingMarketAveragePrice" ,
316260 klass = dataclasses .TradingMarketAveragePrice ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments