crypticorn 2.5.0rc5__py3-none-any.whl → 2.5.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 (83) hide show
  1. crypticorn/auth/main.py +2 -0
  2. crypticorn/client.py +60 -69
  3. crypticorn/common/__init__.py +2 -1
  4. crypticorn/common/auth.py +38 -20
  5. crypticorn/common/enums.py +5 -34
  6. crypticorn/common/errors.py +33 -14
  7. crypticorn/common/exceptions.py +29 -15
  8. crypticorn/common/mixins.py +36 -0
  9. crypticorn/common/urls.py +2 -1
  10. crypticorn/common/utils.py +4 -2
  11. crypticorn/hive/main.py +2 -0
  12. crypticorn/klines/client/__init__.py +14 -42
  13. crypticorn/klines/client/api/__init__.py +1 -1
  14. crypticorn/klines/client/api/change_in_timeframe_api.py +8 -22
  15. crypticorn/klines/client/api/funding_rates_api.py +8 -22
  16. crypticorn/klines/client/api/ohlcv_data_api.py +13 -33
  17. crypticorn/klines/client/api/status_api.py +260 -0
  18. crypticorn/klines/client/api/symbols_api.py +14 -29
  19. crypticorn/klines/client/api/udf_api.py +48 -59
  20. crypticorn/klines/client/api_client.py +1 -1
  21. crypticorn/klines/client/configuration.py +1 -1
  22. crypticorn/klines/client/exceptions.py +1 -1
  23. crypticorn/klines/client/models/__init__.py +13 -41
  24. crypticorn/klines/client/models/api_error_identifier.py +108 -0
  25. crypticorn/klines/client/models/api_error_level.py +37 -0
  26. crypticorn/klines/client/models/api_error_type.py +37 -0
  27. crypticorn/klines/client/models/change_in_timeframe.py +86 -0
  28. crypticorn/klines/client/models/exception_detail.py +117 -0
  29. crypticorn/klines/client/models/funding_rate.py +92 -0
  30. crypticorn/klines/client/models/internal_exchange.py +39 -0
  31. crypticorn/klines/client/models/market_type.py +1 -1
  32. crypticorn/klines/client/models/ohlcv_history.py +105 -0
  33. crypticorn/klines/client/models/resolution.py +1 -1
  34. crypticorn/klines/client/models/search_symbol.py +94 -0
  35. crypticorn/klines/client/models/sort_direction.py +1 -1
  36. crypticorn/klines/client/models/symbol_group.py +83 -0
  37. crypticorn/klines/client/models/symbol_info.py +131 -0
  38. crypticorn/klines/client/models/symbol_type.py +1 -1
  39. crypticorn/klines/client/models/timeframe.py +1 -1
  40. crypticorn/klines/client/models/udf_config.py +149 -0
  41. crypticorn/klines/client/rest.py +1 -1
  42. crypticorn/klines/main.py +40 -23
  43. crypticorn/metrics/client/__init__.py +7 -21
  44. crypticorn/metrics/client/api/__init__.py +1 -1
  45. crypticorn/metrics/client/api/exchanges_api.py +36 -78
  46. crypticorn/metrics/client/api/indicators_api.py +12 -37
  47. crypticorn/metrics/client/api/logs_api.py +8 -23
  48. crypticorn/metrics/client/api/marketcap_api.py +22 -73
  49. crypticorn/metrics/client/api/markets_api.py +12 -40
  50. crypticorn/metrics/client/api/status_api.py +260 -0
  51. crypticorn/metrics/client/api/tokens_api.py +7 -21
  52. crypticorn/metrics/client/api_client.py +1 -1
  53. crypticorn/metrics/client/configuration.py +5 -3
  54. crypticorn/metrics/client/exceptions.py +1 -1
  55. crypticorn/metrics/client/models/__init__.py +6 -20
  56. crypticorn/{trade → metrics}/client/models/api_error_identifier.py +6 -2
  57. crypticorn/{trade → metrics}/client/models/api_error_level.py +2 -2
  58. crypticorn/{trade → metrics}/client/models/api_error_type.py +2 -2
  59. crypticorn/metrics/client/models/exception_detail.py +117 -0
  60. crypticorn/metrics/client/models/internal_exchange.py +39 -0
  61. crypticorn/metrics/client/models/market_type.py +1 -1
  62. crypticorn/metrics/client/models/severity.py +1 -1
  63. crypticorn/metrics/client/models/time_interval.py +1 -1
  64. crypticorn/metrics/client/models/trading_status.py +1 -1
  65. crypticorn/metrics/client/rest.py +1 -1
  66. crypticorn/metrics/main.py +51 -43
  67. crypticorn/pay/main.py +2 -0
  68. crypticorn/trade/client/__init__.py +0 -3
  69. crypticorn/trade/client/configuration.py +2 -2
  70. crypticorn/trade/client/models/__init__.py +0 -3
  71. crypticorn/trade/client/models/bot_model.py +3 -7
  72. crypticorn/trade/client/models/execution_ids.py +1 -1
  73. crypticorn/trade/client/models/notification_model.py +3 -12
  74. crypticorn/trade/client/models/order_model.py +3 -7
  75. crypticorn/trade/client/models/spot_trading_action.py +231 -0
  76. crypticorn/trade/main.py +2 -0
  77. {crypticorn-2.5.0rc5.dist-info → crypticorn-2.5.1.dist-info}/METADATA +7 -5
  78. {crypticorn-2.5.0rc5.dist-info → crypticorn-2.5.1.dist-info}/RECORD +82 -65
  79. {crypticorn-2.5.0rc5.dist-info → crypticorn-2.5.1.dist-info}/WHEEL +1 -1
  80. crypticorn/common/sorter.py +0 -40
  81. /crypticorn/common/{pydantic.py → decorators.py} +0 -0
  82. {crypticorn-2.5.0rc5.dist-info → crypticorn-2.5.1.dist-info}/entry_points.txt +0 -0
  83. {crypticorn-2.5.0rc5.dist-info → crypticorn-2.5.1.dist-info}/top_level.txt +0 -0
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Marketcap Service API
5
5
 
6
- API for retrieving historical marketcap data, available exchanges, and indicators. ## Features - Historical marketcap data - OHLCV data with marketcap - Technical indicators (KER, SMA) - Exchange and symbol mappings - Error logs
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
8
  The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -17,15 +17,9 @@ from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import Field, StrictInt, StrictStr
20
- from typing import Optional
20
+ from typing import Any, Dict, List, Optional
21
21
  from typing_extensions import Annotated
22
- from crypticorn.metrics.client.models.base_response_list_dict import (
23
- BaseResponseListDict,
24
- )
25
- from crypticorn.metrics.client.models.base_response_list_exchange_mapping import (
26
- BaseResponseListExchangeMapping,
27
- )
28
- from crypticorn.metrics.client.models.base_response_list_str import BaseResponseListStr
22
+ from crypticorn.metrics.client.models.internal_exchange import InternalExchange
29
23
  from crypticorn.metrics.client.models.market_type import MarketType
30
24
  from crypticorn.metrics.client.models.time_interval import TimeInterval
31
25
  from crypticorn.metrics.client.models.trading_status import TradingStatus
@@ -93,7 +87,7 @@ class ExchangesApi:
93
87
  _content_type: Optional[StrictStr] = None,
94
88
  _headers: Optional[Dict[StrictStr, Any]] = None,
95
89
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
96
- ) -> BaseResponseListDict:
90
+ ) -> List[Dict[str, object]]:
97
91
  """Get Available Exchanges
98
92
 
99
93
  Get available exchanges for a symbol with various filtering options.
@@ -149,11 +143,7 @@ class ExchangesApi:
149
143
  )
150
144
 
151
145
  _response_types_map: Dict[str, Optional[str]] = {
152
- "200": "BaseResponseListDict",
153
- "400": "ErrorResponse",
154
- "404": "ErrorResponse",
155
- "500": "ErrorResponse",
156
- "422": "HTTPValidationError",
146
+ "200": "List[Dict[str, object]]",
157
147
  }
158
148
  response_data = await self.api_client.call_api(
159
149
  *_param, _request_timeout=_request_timeout
@@ -210,7 +200,7 @@ class ExchangesApi:
210
200
  _content_type: Optional[StrictStr] = None,
211
201
  _headers: Optional[Dict[StrictStr, Any]] = None,
212
202
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
213
- ) -> ApiResponse[BaseResponseListDict]:
203
+ ) -> ApiResponse[List[Dict[str, object]]]:
214
204
  """Get Available Exchanges
215
205
 
216
206
  Get available exchanges for a symbol with various filtering options.
@@ -266,11 +256,7 @@ class ExchangesApi:
266
256
  )
267
257
 
268
258
  _response_types_map: Dict[str, Optional[str]] = {
269
- "200": "BaseResponseListDict",
270
- "400": "ErrorResponse",
271
- "404": "ErrorResponse",
272
- "500": "ErrorResponse",
273
- "422": "HTTPValidationError",
259
+ "200": "List[Dict[str, object]]",
274
260
  }
275
261
  response_data = await self.api_client.call_api(
276
262
  *_param, _request_timeout=_request_timeout
@@ -383,11 +369,7 @@ class ExchangesApi:
383
369
  )
384
370
 
385
371
  _response_types_map: Dict[str, Optional[str]] = {
386
- "200": "BaseResponseListDict",
387
- "400": "ErrorResponse",
388
- "404": "ErrorResponse",
389
- "500": "ErrorResponse",
390
- "422": "HTTPValidationError",
372
+ "200": "List[Dict[str, object]]",
391
373
  }
392
374
  response_data = await self.api_client.call_api(
393
375
  *_param, _request_timeout=_request_timeout
@@ -493,7 +475,7 @@ class ExchangesApi:
493
475
  _content_type: Optional[StrictStr] = None,
494
476
  _headers: Optional[Dict[StrictStr, Any]] = None,
495
477
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
496
- ) -> BaseResponseListStr:
478
+ ) -> List[str]:
497
479
  """Get Exchange List
498
480
 
499
481
  Get list of exchanges for a market.
@@ -531,11 +513,7 @@ class ExchangesApi:
531
513
  )
532
514
 
533
515
  _response_types_map: Dict[str, Optional[str]] = {
534
- "200": "BaseResponseListStr",
535
- "400": "ErrorResponse",
536
- "404": "ErrorResponse",
537
- "500": "ErrorResponse",
538
- "422": "HTTPValidationError",
516
+ "200": "List[str]",
539
517
  }
540
518
  response_data = await self.api_client.call_api(
541
519
  *_param, _request_timeout=_request_timeout
@@ -563,7 +541,7 @@ class ExchangesApi:
563
541
  _content_type: Optional[StrictStr] = None,
564
542
  _headers: Optional[Dict[StrictStr, Any]] = None,
565
543
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
566
- ) -> ApiResponse[BaseResponseListStr]:
544
+ ) -> ApiResponse[List[str]]:
567
545
  """Get Exchange List
568
546
 
569
547
  Get list of exchanges for a market.
@@ -601,11 +579,7 @@ class ExchangesApi:
601
579
  )
602
580
 
603
581
  _response_types_map: Dict[str, Optional[str]] = {
604
- "200": "BaseResponseListStr",
605
- "400": "ErrorResponse",
606
- "404": "ErrorResponse",
607
- "500": "ErrorResponse",
608
- "422": "HTTPValidationError",
582
+ "200": "List[str]",
609
583
  }
610
584
  response_data = await self.api_client.call_api(
611
585
  *_param, _request_timeout=_request_timeout
@@ -671,11 +645,7 @@ class ExchangesApi:
671
645
  )
672
646
 
673
647
  _response_types_map: Dict[str, Optional[str]] = {
674
- "200": "BaseResponseListStr",
675
- "400": "ErrorResponse",
676
- "404": "ErrorResponse",
677
- "500": "ErrorResponse",
678
- "422": "HTTPValidationError",
648
+ "200": "List[str]",
679
649
  }
680
650
  response_data = await self.api_client.call_api(
681
651
  *_param, _request_timeout=_request_timeout
@@ -742,8 +712,8 @@ class ExchangesApi:
742
712
  market: Annotated[
743
713
  MarketType, Field(description="Market type (spot or futures)")
744
714
  ],
745
- exchange_name: Annotated[
746
- Optional[StrictStr],
715
+ exchange: Annotated[
716
+ Optional[InternalExchange],
747
717
  Field(description="Exchange name for which to fetch exchange mappings"),
748
718
  ] = None,
749
719
  _request_timeout: Union[
@@ -757,15 +727,15 @@ class ExchangesApi:
757
727
  _content_type: Optional[StrictStr] = None,
758
728
  _headers: Optional[Dict[StrictStr, Any]] = None,
759
729
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
760
- ) -> BaseResponseListExchangeMapping:
730
+ ) -> List[str]:
761
731
  """Get Exchange Mappings
762
732
 
763
733
  Get exchange mappings for a market with optional exchange name filter.
764
734
 
765
735
  :param market: Market type (spot or futures) (required)
766
736
  :type market: MarketType
767
- :param exchange_name: Exchange name for which to fetch exchange mappings
768
- :type exchange_name: str
737
+ :param exchange: Exchange name for which to fetch exchange mappings
738
+ :type exchange: InternalExchange
769
739
  :param _request_timeout: timeout setting for this request. If one
770
740
  number provided, it will be total request
771
741
  timeout. It can also be a pair (tuple) of
@@ -790,7 +760,7 @@ class ExchangesApi:
790
760
 
791
761
  _param = self._get_exchange_mappings_serialize(
792
762
  market=market,
793
- exchange_name=exchange_name,
763
+ exchange=exchange,
794
764
  _request_auth=_request_auth,
795
765
  _content_type=_content_type,
796
766
  _headers=_headers,
@@ -798,11 +768,7 @@ class ExchangesApi:
798
768
  )
799
769
 
800
770
  _response_types_map: Dict[str, Optional[str]] = {
801
- "200": "BaseResponseListExchangeMapping",
802
- "400": "ErrorResponse",
803
- "404": "ErrorResponse",
804
- "500": "ErrorResponse",
805
- "422": "HTTPValidationError",
771
+ "200": "List[str]",
806
772
  }
807
773
  response_data = await self.api_client.call_api(
808
774
  *_param, _request_timeout=_request_timeout
@@ -819,8 +785,8 @@ class ExchangesApi:
819
785
  market: Annotated[
820
786
  MarketType, Field(description="Market type (spot or futures)")
821
787
  ],
822
- exchange_name: Annotated[
823
- Optional[StrictStr],
788
+ exchange: Annotated[
789
+ Optional[InternalExchange],
824
790
  Field(description="Exchange name for which to fetch exchange mappings"),
825
791
  ] = None,
826
792
  _request_timeout: Union[
@@ -834,15 +800,15 @@ class ExchangesApi:
834
800
  _content_type: Optional[StrictStr] = None,
835
801
  _headers: Optional[Dict[StrictStr, Any]] = None,
836
802
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
837
- ) -> ApiResponse[BaseResponseListExchangeMapping]:
803
+ ) -> ApiResponse[List[str]]:
838
804
  """Get Exchange Mappings
839
805
 
840
806
  Get exchange mappings for a market with optional exchange name filter.
841
807
 
842
808
  :param market: Market type (spot or futures) (required)
843
809
  :type market: MarketType
844
- :param exchange_name: Exchange name for which to fetch exchange mappings
845
- :type exchange_name: str
810
+ :param exchange: Exchange name for which to fetch exchange mappings
811
+ :type exchange: InternalExchange
846
812
  :param _request_timeout: timeout setting for this request. If one
847
813
  number provided, it will be total request
848
814
  timeout. It can also be a pair (tuple) of
@@ -867,7 +833,7 @@ class ExchangesApi:
867
833
 
868
834
  _param = self._get_exchange_mappings_serialize(
869
835
  market=market,
870
- exchange_name=exchange_name,
836
+ exchange=exchange,
871
837
  _request_auth=_request_auth,
872
838
  _content_type=_content_type,
873
839
  _headers=_headers,
@@ -875,11 +841,7 @@ class ExchangesApi:
875
841
  )
876
842
 
877
843
  _response_types_map: Dict[str, Optional[str]] = {
878
- "200": "BaseResponseListExchangeMapping",
879
- "400": "ErrorResponse",
880
- "404": "ErrorResponse",
881
- "500": "ErrorResponse",
882
- "422": "HTTPValidationError",
844
+ "200": "List[str]",
883
845
  }
884
846
  response_data = await self.api_client.call_api(
885
847
  *_param, _request_timeout=_request_timeout
@@ -896,8 +858,8 @@ class ExchangesApi:
896
858
  market: Annotated[
897
859
  MarketType, Field(description="Market type (spot or futures)")
898
860
  ],
899
- exchange_name: Annotated[
900
- Optional[StrictStr],
861
+ exchange: Annotated[
862
+ Optional[InternalExchange],
901
863
  Field(description="Exchange name for which to fetch exchange mappings"),
902
864
  ] = None,
903
865
  _request_timeout: Union[
@@ -918,8 +880,8 @@ class ExchangesApi:
918
880
 
919
881
  :param market: Market type (spot or futures) (required)
920
882
  :type market: MarketType
921
- :param exchange_name: Exchange name for which to fetch exchange mappings
922
- :type exchange_name: str
883
+ :param exchange: Exchange name for which to fetch exchange mappings
884
+ :type exchange: InternalExchange
923
885
  :param _request_timeout: timeout setting for this request. If one
924
886
  number provided, it will be total request
925
887
  timeout. It can also be a pair (tuple) of
@@ -944,7 +906,7 @@ class ExchangesApi:
944
906
 
945
907
  _param = self._get_exchange_mappings_serialize(
946
908
  market=market,
947
- exchange_name=exchange_name,
909
+ exchange=exchange,
948
910
  _request_auth=_request_auth,
949
911
  _content_type=_content_type,
950
912
  _headers=_headers,
@@ -952,11 +914,7 @@ class ExchangesApi:
952
914
  )
953
915
 
954
916
  _response_types_map: Dict[str, Optional[str]] = {
955
- "200": "BaseResponseListExchangeMapping",
956
- "400": "ErrorResponse",
957
- "404": "ErrorResponse",
958
- "500": "ErrorResponse",
959
- "422": "HTTPValidationError",
917
+ "200": "List[str]",
960
918
  }
961
919
  response_data = await self.api_client.call_api(
962
920
  *_param, _request_timeout=_request_timeout
@@ -966,7 +924,7 @@ class ExchangesApi:
966
924
  def _get_exchange_mappings_serialize(
967
925
  self,
968
926
  market,
969
- exchange_name,
927
+ exchange,
970
928
  _request_auth,
971
929
  _content_type,
972
930
  _headers,
@@ -990,9 +948,9 @@ class ExchangesApi:
990
948
  if market is not None:
991
949
  _path_params["market"] = market.value
992
950
  # process the query parameters
993
- if exchange_name is not None:
951
+ if exchange is not None:
994
952
 
995
- _query_params.append(("exchange_name", exchange_name))
953
+ _query_params.append(("exchange", exchange.value))
996
954
 
997
955
  # process the header parameters
998
956
  # process the form parameters
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Marketcap Service API
5
5
 
6
- API for retrieving historical marketcap data, available exchanges, and indicators. ## Features - Historical marketcap data - OHLCV data with marketcap - Technical indicators (KER, SMA) - Exchange and symbol mappings - Error logs
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
8
  The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -17,9 +17,8 @@ from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import Field, StrictInt, StrictStr
20
- from typing import Optional
20
+ from typing import Any, Dict, Optional
21
21
  from typing_extensions import Annotated
22
- from crypticorn.metrics.client.models.base_response_dict import BaseResponseDict
23
22
  from crypticorn.metrics.client.models.market_type import MarketType
24
23
 
25
24
  from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
@@ -62,7 +61,7 @@ class IndicatorsApi:
62
61
  _content_type: Optional[StrictStr] = None,
63
62
  _headers: Optional[Dict[StrictStr, Any]] = None,
64
63
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
65
- ) -> BaseResponseDict:
64
+ ) -> Dict[str, object]:
66
65
  """Get Ker Indicator
67
66
 
68
67
  Calculate and retrieve the KER indicator for a symbol.
@@ -109,11 +108,7 @@ class IndicatorsApi:
109
108
  )
110
109
 
111
110
  _response_types_map: Dict[str, Optional[str]] = {
112
- "200": "BaseResponseDict",
113
- "400": "ErrorResponse",
114
- "404": "ErrorResponse",
115
- "500": "ErrorResponse",
116
- "422": "HTTPValidationError",
111
+ "200": "Dict[str, object]",
117
112
  }
118
113
  response_data = await self.api_client.call_api(
119
114
  *_param, _request_timeout=_request_timeout
@@ -147,7 +142,7 @@ class IndicatorsApi:
147
142
  _content_type: Optional[StrictStr] = None,
148
143
  _headers: Optional[Dict[StrictStr, Any]] = None,
149
144
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
150
- ) -> ApiResponse[BaseResponseDict]:
145
+ ) -> ApiResponse[Dict[str, object]]:
151
146
  """Get Ker Indicator
152
147
 
153
148
  Calculate and retrieve the KER indicator for a symbol.
@@ -194,11 +189,7 @@ class IndicatorsApi:
194
189
  )
195
190
 
196
191
  _response_types_map: Dict[str, Optional[str]] = {
197
- "200": "BaseResponseDict",
198
- "400": "ErrorResponse",
199
- "404": "ErrorResponse",
200
- "500": "ErrorResponse",
201
- "422": "HTTPValidationError",
192
+ "200": "Dict[str, object]",
202
193
  }
203
194
  response_data = await self.api_client.call_api(
204
195
  *_param, _request_timeout=_request_timeout
@@ -279,11 +270,7 @@ class IndicatorsApi:
279
270
  )
280
271
 
281
272
  _response_types_map: Dict[str, Optional[str]] = {
282
- "200": "BaseResponseDict",
283
- "400": "ErrorResponse",
284
- "404": "ErrorResponse",
285
- "500": "ErrorResponse",
286
- "422": "HTTPValidationError",
273
+ "200": "Dict[str, object]",
287
274
  }
288
275
  response_data = await self.api_client.call_api(
289
276
  *_param, _request_timeout=_request_timeout
@@ -386,7 +373,7 @@ class IndicatorsApi:
386
373
  _content_type: Optional[StrictStr] = None,
387
374
  _headers: Optional[Dict[StrictStr, Any]] = None,
388
375
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
389
- ) -> BaseResponseDict:
376
+ ) -> Dict[str, object]:
390
377
  """Get Sma Indicator
391
378
 
392
379
  Calculate and retrieve the Simple Moving Average (SMA) indicator for a symbol.
@@ -433,11 +420,7 @@ class IndicatorsApi:
433
420
  )
434
421
 
435
422
  _response_types_map: Dict[str, Optional[str]] = {
436
- "200": "BaseResponseDict",
437
- "400": "ErrorResponse",
438
- "404": "ErrorResponse",
439
- "500": "ErrorResponse",
440
- "422": "HTTPValidationError",
423
+ "200": "Dict[str, object]",
441
424
  }
442
425
  response_data = await self.api_client.call_api(
443
426
  *_param, _request_timeout=_request_timeout
@@ -475,7 +458,7 @@ class IndicatorsApi:
475
458
  _content_type: Optional[StrictStr] = None,
476
459
  _headers: Optional[Dict[StrictStr, Any]] = None,
477
460
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
478
- ) -> ApiResponse[BaseResponseDict]:
461
+ ) -> ApiResponse[Dict[str, object]]:
479
462
  """Get Sma Indicator
480
463
 
481
464
  Calculate and retrieve the Simple Moving Average (SMA) indicator for a symbol.
@@ -522,11 +505,7 @@ class IndicatorsApi:
522
505
  )
523
506
 
524
507
  _response_types_map: Dict[str, Optional[str]] = {
525
- "200": "BaseResponseDict",
526
- "400": "ErrorResponse",
527
- "404": "ErrorResponse",
528
- "500": "ErrorResponse",
529
- "422": "HTTPValidationError",
508
+ "200": "Dict[str, object]",
530
509
  }
531
510
  response_data = await self.api_client.call_api(
532
511
  *_param, _request_timeout=_request_timeout
@@ -611,11 +590,7 @@ class IndicatorsApi:
611
590
  )
612
591
 
613
592
  _response_types_map: Dict[str, Optional[str]] = {
614
- "200": "BaseResponseDict",
615
- "400": "ErrorResponse",
616
- "404": "ErrorResponse",
617
- "500": "ErrorResponse",
618
- "422": "HTTPValidationError",
593
+ "200": "Dict[str, object]",
619
594
  }
620
595
  response_data = await self.api_client.call_api(
621
596
  *_param, _request_timeout=_request_timeout
@@ -3,7 +3,7 @@
3
3
  """
4
4
  Marketcap Service API
5
5
 
6
- API for retrieving historical marketcap data, available exchanges, and indicators. ## Features - Historical marketcap data - OHLCV data with marketcap - Technical indicators (KER, SMA) - Exchange and symbol mappings - Error logs
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
8
  The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -16,12 +16,9 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import Field, StrictInt
20
- from typing import Optional
19
+ from pydantic import Field, StrictInt, StrictStr
20
+ from typing import List, Optional
21
21
  from typing_extensions import Annotated
22
- from crypticorn.metrics.client.models.base_response_list_dict import (
23
- BaseResponseListDict,
24
- )
25
22
  from crypticorn.metrics.client.models.severity import Severity
26
23
 
27
24
  from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
@@ -66,7 +63,7 @@ class LogsApi:
66
63
  _content_type: Optional[StrictStr] = None,
67
64
  _headers: Optional[Dict[StrictStr, Any]] = None,
68
65
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
69
- ) -> BaseResponseListDict:
66
+ ) -> List[str]:
70
67
  """Get Error Logs
71
68
 
72
69
  Get error logs with filtering options.
@@ -110,11 +107,7 @@ class LogsApi:
110
107
  )
111
108
 
112
109
  _response_types_map: Dict[str, Optional[str]] = {
113
- "200": "BaseResponseListDict",
114
- "400": "ErrorResponse",
115
- "404": "ErrorResponse",
116
- "500": "ErrorResponse",
117
- "422": "HTTPValidationError",
110
+ "200": "List[str]",
118
111
  }
119
112
  response_data = await self.api_client.call_api(
120
113
  *_param, _request_timeout=_request_timeout
@@ -150,7 +143,7 @@ class LogsApi:
150
143
  _content_type: Optional[StrictStr] = None,
151
144
  _headers: Optional[Dict[StrictStr, Any]] = None,
152
145
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
153
- ) -> ApiResponse[BaseResponseListDict]:
146
+ ) -> ApiResponse[List[str]]:
154
147
  """Get Error Logs
155
148
 
156
149
  Get error logs with filtering options.
@@ -194,11 +187,7 @@ class LogsApi:
194
187
  )
195
188
 
196
189
  _response_types_map: Dict[str, Optional[str]] = {
197
- "200": "BaseResponseListDict",
198
- "400": "ErrorResponse",
199
- "404": "ErrorResponse",
200
- "500": "ErrorResponse",
201
- "422": "HTTPValidationError",
190
+ "200": "List[str]",
202
191
  }
203
192
  response_data = await self.api_client.call_api(
204
193
  *_param, _request_timeout=_request_timeout
@@ -278,11 +267,7 @@ class LogsApi:
278
267
  )
279
268
 
280
269
  _response_types_map: Dict[str, Optional[str]] = {
281
- "200": "BaseResponseListDict",
282
- "400": "ErrorResponse",
283
- "404": "ErrorResponse",
284
- "500": "ErrorResponse",
285
- "422": "HTTPValidationError",
270
+ "200": "List[str]",
286
271
  }
287
272
  response_data = await self.api_client.call_api(
288
273
  *_param, _request_timeout=_request_timeout