crypticorn 2.4.3__py3-none-any.whl → 2.4.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.
Files changed (242) hide show
  1. crypticorn/auth/client/__init__.py +5 -5
  2. crypticorn/auth/client/api/admin_api.py +6 -6
  3. crypticorn/auth/client/api/auth_api.py +5 -5
  4. crypticorn/auth/client/api/service_api.py +5 -5
  5. crypticorn/auth/client/api/user_api.py +8 -8
  6. crypticorn/auth/client/api/wallet_api.py +5 -5
  7. crypticorn/auth/client/api_client.py +5 -5
  8. crypticorn/auth/client/configuration.py +13 -6
  9. crypticorn/auth/client/exceptions.py +5 -5
  10. crypticorn/auth/client/models/__init__.py +5 -5
  11. crypticorn/auth/client/models/add_wallet200_response.py +5 -5
  12. crypticorn/auth/client/models/add_wallet_request.py +5 -5
  13. crypticorn/auth/client/models/authorize_user200_response.py +5 -5
  14. crypticorn/auth/client/models/authorize_user200_response_auth.py +5 -5
  15. crypticorn/auth/client/models/authorize_user_request.py +5 -5
  16. crypticorn/auth/client/models/create_api_key200_response.py +5 -5
  17. crypticorn/auth/client/models/create_api_key_request.py +5 -5
  18. crypticorn/auth/client/models/create_user_request.py +5 -5
  19. crypticorn/auth/client/models/get_api_keys200_response_inner.py +5 -5
  20. crypticorn/auth/client/models/list_wallets200_response.py +5 -5
  21. crypticorn/auth/client/models/list_wallets200_response_balances_inner.py +5 -5
  22. crypticorn/auth/client/models/list_wallets200_response_balances_inner_sale_round.py +5 -5
  23. crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet.py +5 -5
  24. crypticorn/auth/client/models/list_wallets200_response_balances_inner_wallet_vesting_wallets_inner.py +5 -5
  25. crypticorn/auth/client/models/list_wallets200_response_data_inner.py +5 -5
  26. crypticorn/auth/client/models/list_wallets200_response_user_value.py +5 -5
  27. crypticorn/auth/client/models/logout_default_response.py +5 -5
  28. crypticorn/auth/client/models/logout_default_response_issues_inner.py +5 -5
  29. crypticorn/auth/client/models/oauth_callback200_response.py +5 -5
  30. crypticorn/auth/client/models/oauth_callback200_response_user.py +5 -5
  31. crypticorn/auth/client/models/refresh_token_info200_response.py +5 -5
  32. crypticorn/auth/client/models/refresh_token_info200_response_user_session.py +5 -5
  33. crypticorn/auth/client/models/resend_verification_email_request.py +5 -5
  34. crypticorn/auth/client/models/revoke_user_tokens_request.py +5 -5
  35. crypticorn/auth/client/models/rotate_tokens200_response.py +5 -5
  36. crypticorn/auth/client/models/token_info200_response.py +5 -5
  37. crypticorn/auth/client/models/unlink_wallet_request.py +5 -5
  38. crypticorn/auth/client/models/update_user_request.py +8 -6
  39. crypticorn/auth/client/models/user_reset_password_request.py +5 -5
  40. crypticorn/auth/client/models/user_set_password_request.py +5 -5
  41. crypticorn/auth/client/models/verify200_response.py +5 -5
  42. crypticorn/auth/client/models/verify_email200_response.py +5 -5
  43. crypticorn/auth/client/models/verify_email200_response_auth.py +5 -5
  44. crypticorn/auth/client/models/verify_email200_response_auth_auth.py +5 -5
  45. crypticorn/auth/client/models/verify_email_request.py +5 -5
  46. crypticorn/auth/client/models/verify_wallet_request.py +5 -5
  47. crypticorn/auth/client/models/wallet_verified200_response.py +5 -5
  48. crypticorn/auth/client/models/whoami200_response.py +5 -5
  49. crypticorn/auth/client/rest.py +9 -6
  50. crypticorn/client.py +28 -11
  51. crypticorn/common/auth.py +1 -1
  52. crypticorn/common/errors.py +11 -14
  53. crypticorn/common/scopes.py +5 -0
  54. crypticorn/common/sorter.py +2 -2
  55. crypticorn/common/utils.py +4 -2
  56. crypticorn/hive/client/__init__.py +5 -5
  57. crypticorn/hive/client/api/data_api.py +5 -5
  58. crypticorn/hive/client/api/models_api.py +5 -5
  59. crypticorn/hive/client/api/status_api.py +5 -5
  60. crypticorn/hive/client/api_client.py +5 -5
  61. crypticorn/hive/client/configuration.py +5 -5
  62. crypticorn/hive/client/exceptions.py +5 -5
  63. crypticorn/hive/client/models/__init__.py +5 -5
  64. crypticorn/hive/client/models/coins.py +5 -5
  65. crypticorn/hive/client/models/data_download_response.py +5 -5
  66. crypticorn/hive/client/models/data_info.py +5 -5
  67. crypticorn/hive/client/models/data_value_value_value_inner.py +5 -5
  68. crypticorn/hive/client/models/data_version.py +5 -5
  69. crypticorn/hive/client/models/download_links.py +5 -5
  70. crypticorn/hive/client/models/evaluation.py +5 -5
  71. crypticorn/hive/client/models/evaluation_response.py +5 -5
  72. crypticorn/hive/client/models/feature_size.py +5 -5
  73. crypticorn/hive/client/models/http_validation_error.py +5 -5
  74. crypticorn/hive/client/models/model.py +5 -5
  75. crypticorn/hive/client/models/model_create.py +5 -5
  76. crypticorn/hive/client/models/model_status.py +5 -5
  77. crypticorn/hive/client/models/model_update.py +5 -5
  78. crypticorn/hive/client/models/target.py +5 -5
  79. crypticorn/hive/client/models/target_type.py +5 -5
  80. crypticorn/hive/client/models/validation_error.py +5 -5
  81. crypticorn/hive/client/models/validation_error_loc_inner.py +5 -5
  82. crypticorn/hive/client/rest.py +5 -5
  83. crypticorn/klines/client/__init__.py +5 -5
  84. crypticorn/klines/client/api/funding_rates_api.py +5 -5
  85. crypticorn/klines/client/api/health_check_api.py +5 -5
  86. crypticorn/klines/client/api/ohlcv_data_api.py +5 -5
  87. crypticorn/klines/client/api/symbols_api.py +5 -5
  88. crypticorn/klines/client/api/udf_api.py +5 -5
  89. crypticorn/klines/client/api_client.py +5 -5
  90. crypticorn/klines/client/configuration.py +5 -5
  91. crypticorn/klines/client/exceptions.py +5 -5
  92. crypticorn/klines/client/models/__init__.py +5 -5
  93. crypticorn/klines/client/models/base_response_health_check_response.py +5 -5
  94. crypticorn/klines/client/models/base_response_list_funding_rate_response.py +5 -5
  95. crypticorn/klines/client/models/base_response_list_str.py +5 -5
  96. crypticorn/klines/client/models/base_response_ohlcv_response.py +5 -5
  97. crypticorn/klines/client/models/error_response.py +5 -5
  98. crypticorn/klines/client/models/exchange.py +5 -5
  99. crypticorn/klines/client/models/funding_rate_response.py +5 -5
  100. crypticorn/klines/client/models/health_check_response.py +5 -5
  101. crypticorn/klines/client/models/history_error_response.py +5 -5
  102. crypticorn/klines/client/models/history_no_data_response.py +5 -5
  103. crypticorn/klines/client/models/history_success_response.py +5 -5
  104. crypticorn/klines/client/models/http_validation_error.py +5 -5
  105. crypticorn/klines/client/models/market.py +5 -5
  106. crypticorn/klines/client/models/ohlcv_response.py +5 -5
  107. crypticorn/klines/client/models/resolution.py +5 -5
  108. crypticorn/klines/client/models/response_get_history_udf_history_get.py +5 -5
  109. crypticorn/klines/client/models/search_symbol_response.py +5 -5
  110. crypticorn/klines/client/models/sort_direction.py +5 -5
  111. crypticorn/klines/client/models/symbol_group_response.py +5 -5
  112. crypticorn/klines/client/models/symbol_info_response.py +5 -5
  113. crypticorn/klines/client/models/symbol_type.py +5 -5
  114. crypticorn/klines/client/models/timeframe.py +5 -5
  115. crypticorn/klines/client/models/udf_config_response.py +5 -5
  116. crypticorn/klines/client/models/validation_error.py +5 -5
  117. crypticorn/klines/client/models/validation_error_loc_inner.py +5 -5
  118. crypticorn/klines/client/rest.py +5 -5
  119. crypticorn/metrics/client/__init__.py +8 -6
  120. crypticorn/metrics/client/api/exchanges_api.py +62 -42
  121. crypticorn/metrics/client/api/health_check_api.py +5 -5
  122. crypticorn/metrics/client/api/indicators_api.py +47 -35
  123. crypticorn/metrics/client/api/logs_api.py +6 -6
  124. crypticorn/metrics/client/api/marketcap_api.py +22 -22
  125. crypticorn/metrics/client/api/markets_api.py +41 -28
  126. crypticorn/metrics/client/api/tokens_api.py +6 -6
  127. crypticorn/metrics/client/api_client.py +5 -5
  128. crypticorn/metrics/client/configuration.py +84 -39
  129. crypticorn/metrics/client/exceptions.py +5 -5
  130. crypticorn/metrics/client/models/__init__.py +8 -6
  131. crypticorn/metrics/client/models/base_response_dict.py +5 -5
  132. crypticorn/metrics/client/models/base_response_health_check_response.py +5 -5
  133. crypticorn/metrics/client/models/base_response_list_dict.py +5 -5
  134. crypticorn/metrics/client/models/base_response_list_exchange_mapping.py +5 -5
  135. crypticorn/metrics/client/models/base_response_list_str.py +5 -5
  136. crypticorn/metrics/client/models/error_response.py +5 -5
  137. crypticorn/metrics/client/models/exchange_mapping.py +5 -5
  138. crypticorn/metrics/client/models/health_check_response.py +5 -5
  139. crypticorn/metrics/client/models/http_validation_error.py +5 -5
  140. crypticorn/metrics/client/models/market.py +5 -5
  141. crypticorn/metrics/client/models/market_type.py +35 -0
  142. crypticorn/metrics/client/models/severity.py +5 -5
  143. crypticorn/metrics/client/models/time_interval.py +38 -0
  144. crypticorn/metrics/client/models/trading_status.py +35 -0
  145. crypticorn/metrics/client/models/validation_error.py +5 -5
  146. crypticorn/metrics/client/models/validation_error_loc_inner.py +5 -5
  147. crypticorn/metrics/client/rest.py +9 -6
  148. crypticorn/metrics/main.py +2 -2
  149. crypticorn/pay/client/__init__.py +6 -8
  150. crypticorn/pay/client/api/now_payments_api.py +5 -5
  151. crypticorn/pay/client/api/payments_api.py +73 -6
  152. crypticorn/pay/client/api/products_api.py +21 -23
  153. crypticorn/pay/client/api/status_api.py +5 -5
  154. crypticorn/pay/client/api_client.py +5 -5
  155. crypticorn/pay/client/configuration.py +13 -6
  156. crypticorn/pay/client/exceptions.py +5 -5
  157. crypticorn/pay/client/models/__init__.py +6 -8
  158. crypticorn/pay/client/models/api_status_res.py +5 -5
  159. crypticorn/pay/client/models/body_create_now_invoice.py +5 -5
  160. crypticorn/pay/client/models/body_create_product.py +5 -5
  161. crypticorn/pay/client/models/body_get_products.py +5 -5
  162. crypticorn/pay/client/models/body_handle_now_webhook.py +5 -5
  163. crypticorn/pay/client/models/body_update_product.py +5 -5
  164. crypticorn/pay/client/models/combined_payment_history.py +5 -5
  165. crypticorn/pay/client/models/create_invoice_req.py +5 -5
  166. crypticorn/pay/client/models/create_invoice_res.py +5 -5
  167. crypticorn/pay/client/models/currency.py +5 -5
  168. crypticorn/pay/client/models/estimate_price_req.py +5 -5
  169. crypticorn/pay/client/models/estimate_price_res.py +5 -5
  170. crypticorn/pay/client/models/get_currencies_res.py +5 -5
  171. crypticorn/pay/client/models/get_payment_status_res.py +5 -5
  172. crypticorn/pay/client/models/get_payments_list_res.py +5 -5
  173. crypticorn/pay/client/models/http_validation_error.py +5 -5
  174. crypticorn/pay/client/models/min_amount_req.py +5 -5
  175. crypticorn/pay/client/models/min_amount_res.py +5 -5
  176. crypticorn/pay/client/models/now_api_status_res.py +5 -5
  177. crypticorn/pay/client/models/now_create_invoice_req.py +5 -5
  178. crypticorn/pay/client/models/now_create_invoice_res.py +5 -5
  179. crypticorn/pay/client/models/now_fee_structure.py +5 -5
  180. crypticorn/pay/client/models/now_payment_model.py +5 -5
  181. crypticorn/pay/client/models/now_payment_status.py +5 -5
  182. crypticorn/pay/client/models/now_webhook_payload.py +5 -5
  183. crypticorn/pay/client/models/partial_product_update_model.py +5 -5
  184. crypticorn/pay/client/models/payment.py +5 -5
  185. crypticorn/pay/client/models/payment_status.py +5 -5
  186. crypticorn/pay/client/models/product.py +5 -5
  187. crypticorn/pay/client/models/product_model.py +5 -5
  188. crypticorn/pay/client/models/product_subs_model.py +5 -5
  189. crypticorn/pay/client/models/product_update_model.py +11 -11
  190. crypticorn/pay/client/models/scope.py +7 -7
  191. crypticorn/pay/client/models/services.py +5 -5
  192. crypticorn/pay/client/models/unified_payment_model.py +5 -5
  193. crypticorn/pay/client/models/validation_error.py +5 -5
  194. crypticorn/pay/client/models/validation_error_loc_inner.py +5 -5
  195. crypticorn/pay/client/rest.py +9 -6
  196. crypticorn/trade/client/__init__.py +5 -5
  197. crypticorn/trade/client/api/api_keys_api.py +5 -5
  198. crypticorn/trade/client/api/bots_api.py +5 -5
  199. crypticorn/trade/client/api/exchanges_api.py +5 -5
  200. crypticorn/trade/client/api/futures_trading_panel_api.py +5 -5
  201. crypticorn/trade/client/api/notifications_api.py +5 -5
  202. crypticorn/trade/client/api/orders_api.py +5 -5
  203. crypticorn/trade/client/api/status_api.py +5 -5
  204. crypticorn/trade/client/api/strategies_api.py +5 -5
  205. crypticorn/trade/client/api/trading_actions_api.py +5 -5
  206. crypticorn/trade/client/api_client.py +5 -5
  207. crypticorn/trade/client/configuration.py +13 -6
  208. crypticorn/trade/client/exceptions.py +5 -5
  209. crypticorn/trade/client/models/__init__.py +5 -5
  210. crypticorn/trade/client/models/action_model.py +5 -5
  211. crypticorn/trade/client/models/api_error_identifier.py +7 -6
  212. crypticorn/trade/client/models/api_error_level.py +5 -5
  213. crypticorn/trade/client/models/api_error_type.py +5 -5
  214. crypticorn/trade/client/models/api_key_model.py +5 -5
  215. crypticorn/trade/client/models/bot_model.py +5 -5
  216. crypticorn/trade/client/models/bot_status.py +5 -5
  217. crypticorn/trade/client/models/exchange.py +5 -5
  218. crypticorn/trade/client/models/exchange_key_model.py +5 -5
  219. crypticorn/trade/client/models/execution_ids.py +7 -7
  220. crypticorn/trade/client/models/futures_balance.py +5 -5
  221. crypticorn/trade/client/models/futures_trading_action.py +5 -5
  222. crypticorn/trade/client/models/http_validation_error.py +5 -5
  223. crypticorn/trade/client/models/margin_mode.py +5 -5
  224. crypticorn/trade/client/models/market_type.py +5 -5
  225. crypticorn/trade/client/models/notification_model.py +5 -5
  226. crypticorn/trade/client/models/order_model.py +5 -5
  227. crypticorn/trade/client/models/order_status.py +5 -5
  228. crypticorn/trade/client/models/post_futures_action.py +5 -5
  229. crypticorn/trade/client/models/strategy_exchange_info.py +5 -5
  230. crypticorn/trade/client/models/strategy_model_input.py +5 -5
  231. crypticorn/trade/client/models/strategy_model_output.py +5 -5
  232. crypticorn/trade/client/models/tpsl.py +5 -5
  233. crypticorn/trade/client/models/trading_action_type.py +5 -5
  234. crypticorn/trade/client/models/validation_error.py +5 -5
  235. crypticorn/trade/client/models/validation_error_loc_inner.py +5 -5
  236. crypticorn/trade/client/rest.py +9 -6
  237. {crypticorn-2.4.3.dist-info → crypticorn-2.4.5.dist-info}/METADATA +8 -9
  238. crypticorn-2.4.5.dist-info/RECORD +280 -0
  239. crypticorn-2.4.3.dist-info/RECORD +0 -277
  240. {crypticorn-2.4.3.dist-info → crypticorn-2.4.5.dist-info}/WHEEL +0 -0
  241. {crypticorn-2.4.3.dist-info → crypticorn-2.4.5.dist-info}/entry_points.txt +0 -0
  242. {crypticorn-2.4.3.dist-info → crypticorn-2.4.5.dist-info}/top_level.txt +0 -0
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Klines Service API
4
+ Klines Service API
5
5
 
6
- API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
6
+ API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Klines Service API
4
+ Klines Service API
5
5
 
6
- API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
6
+ API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Klines Service API
4
+ Klines Service API
5
5
 
6
- API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
6
+ API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Klines Service API
4
+ Klines Service API
5
5
 
6
- API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
6
+ API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Klines Service API
4
+ Klines Service API
5
5
 
6
- API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
6
+ API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Klines Service API
4
+ Klines Service API
5
5
 
6
- API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
6
+ API for retrieving OHLCV data, funding rates, and symbol information from Binance. ## WebSocket Support Connect to `/ws` to receive real-time OHLCV updates. Example subscription message: ```json { \"action\": \"subscribe\", \"market\": \"spot\", \"symbol\": \"BTCUSDT\", \"timeframe\": \"15m\" } ```
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
 
@@ -3,14 +3,14 @@
3
3
  # flake8: noqa
4
4
 
5
5
  """
6
- Marketcap Service API
6
+ Marketcap Service API
7
7
 
8
- 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
8
+ 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
9
9
 
10
- The version of the OpenAPI document: 1.0.0
11
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+ The version of the OpenAPI document: 1.0.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
13
- Do not edit the class manually.
13
+ Do not edit the class manually.
14
14
  """ # noqa: E501
15
15
 
16
16
 
@@ -52,8 +52,10 @@ from crypticorn.metrics.client.models.error_response import ErrorResponse
52
52
  from crypticorn.metrics.client.models.exchange_mapping import ExchangeMapping
53
53
  from crypticorn.metrics.client.models.http_validation_error import HTTPValidationError
54
54
  from crypticorn.metrics.client.models.health_check_response import HealthCheckResponse
55
- from crypticorn.metrics.client.models.market import Market
55
+ from crypticorn.metrics.client.models.market_type import MarketType
56
56
  from crypticorn.metrics.client.models.severity import Severity
57
+ from crypticorn.metrics.client.models.time_interval import TimeInterval
58
+ from crypticorn.metrics.client.models.trading_status import TradingStatus
57
59
  from crypticorn.metrics.client.models.validation_error import ValidationError
58
60
  from crypticorn.metrics.client.models.validation_error_loc_inner import (
59
61
  ValidationErrorLocInner,
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Marketcap Service API
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
+ 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
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  import warnings
@@ -16,7 +16,7 @@ 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, StrictStr, field_validator
19
+ from pydantic import Field, StrictInt, StrictStr
20
20
  from typing import Optional
21
21
  from typing_extensions import Annotated
22
22
  from crypticorn.metrics.client.models.base_response_list_dict import (
@@ -26,7 +26,9 @@ from crypticorn.metrics.client.models.base_response_list_exchange_mapping import
26
26
  BaseResponseListExchangeMapping,
27
27
  )
28
28
  from crypticorn.metrics.client.models.base_response_list_str import BaseResponseListStr
29
- from crypticorn.metrics.client.models.market import Market
29
+ from crypticorn.metrics.client.models.market_type import MarketType
30
+ from crypticorn.metrics.client.models.time_interval import TimeInterval
31
+ from crypticorn.metrics.client.models.trading_status import TradingStatus
30
32
 
31
33
  from crypticorn.metrics.client.api_client import ApiClient, RequestSerialized
32
34
  from crypticorn.metrics.client.api_response import ApiResponse
@@ -48,12 +50,14 @@ class ExchangesApi:
48
50
  @validate_call
49
51
  async def get_available_exchanges(
50
52
  self,
51
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
53
+ market: Annotated[
54
+ MarketType, Field(description="Market type (spot or futures)")
55
+ ],
52
56
  symbol: Annotated[
53
57
  StrictStr, Field(description="Symbol to fetch available exchanges for")
54
58
  ],
55
59
  interval: Annotated[
56
- Optional[StrictStr],
60
+ Optional[TimeInterval],
57
61
  Field(description="Interval for which to fetch available exchanges"),
58
62
  ] = None,
59
63
  start_timestamp: Annotated[
@@ -73,7 +77,7 @@ class ExchangesApi:
73
77
  ),
74
78
  ] = None,
75
79
  status: Annotated[
76
- Optional[StrictStr],
80
+ Optional[TradingStatus],
77
81
  Field(
78
82
  description="Trading pair status for which to fetch available exchanges"
79
83
  ),
@@ -95,11 +99,11 @@ class ExchangesApi:
95
99
  Get available exchanges for a symbol with various filtering options.
96
100
 
97
101
  :param market: Market type (spot or futures) (required)
98
- :type market: Market
102
+ :type market: MarketType
99
103
  :param symbol: Symbol to fetch available exchanges for (required)
100
104
  :type symbol: str
101
105
  :param interval: Interval for which to fetch available exchanges
102
- :type interval: str
106
+ :type interval: TimeInterval
103
107
  :param start_timestamp: Start timestamp for which to fetch available exchanges (defaults to previous 7 day's closing)
104
108
  :type start_timestamp: int
105
109
  :param end_timestamp: End timestamp for which to fetch available exchanges
@@ -107,7 +111,7 @@ class ExchangesApi:
107
111
  :param quote_currency: Quote currency for which to fetch available exchanges (Use quote currencies endpoint to get available quote currencies)
108
112
  :type quote_currency: str
109
113
  :param status: Trading pair status for which to fetch available exchanges
110
- :type status: str
114
+ :type status: TradingStatus
111
115
  :param _request_timeout: timeout setting for this request. If one
112
116
  number provided, it will be total request
113
117
  timeout. It can also be a pair (tuple) of
@@ -163,12 +167,14 @@ class ExchangesApi:
163
167
  @validate_call
164
168
  async def get_available_exchanges_with_http_info(
165
169
  self,
166
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
170
+ market: Annotated[
171
+ MarketType, Field(description="Market type (spot or futures)")
172
+ ],
167
173
  symbol: Annotated[
168
174
  StrictStr, Field(description="Symbol to fetch available exchanges for")
169
175
  ],
170
176
  interval: Annotated[
171
- Optional[StrictStr],
177
+ Optional[TimeInterval],
172
178
  Field(description="Interval for which to fetch available exchanges"),
173
179
  ] = None,
174
180
  start_timestamp: Annotated[
@@ -188,7 +194,7 @@ class ExchangesApi:
188
194
  ),
189
195
  ] = None,
190
196
  status: Annotated[
191
- Optional[StrictStr],
197
+ Optional[TradingStatus],
192
198
  Field(
193
199
  description="Trading pair status for which to fetch available exchanges"
194
200
  ),
@@ -210,11 +216,11 @@ class ExchangesApi:
210
216
  Get available exchanges for a symbol with various filtering options.
211
217
 
212
218
  :param market: Market type (spot or futures) (required)
213
- :type market: Market
219
+ :type market: MarketType
214
220
  :param symbol: Symbol to fetch available exchanges for (required)
215
221
  :type symbol: str
216
222
  :param interval: Interval for which to fetch available exchanges
217
- :type interval: str
223
+ :type interval: TimeInterval
218
224
  :param start_timestamp: Start timestamp for which to fetch available exchanges (defaults to previous 7 day's closing)
219
225
  :type start_timestamp: int
220
226
  :param end_timestamp: End timestamp for which to fetch available exchanges
@@ -222,7 +228,7 @@ class ExchangesApi:
222
228
  :param quote_currency: Quote currency for which to fetch available exchanges (Use quote currencies endpoint to get available quote currencies)
223
229
  :type quote_currency: str
224
230
  :param status: Trading pair status for which to fetch available exchanges
225
- :type status: str
231
+ :type status: TradingStatus
226
232
  :param _request_timeout: timeout setting for this request. If one
227
233
  number provided, it will be total request
228
234
  timeout. It can also be a pair (tuple) of
@@ -278,12 +284,14 @@ class ExchangesApi:
278
284
  @validate_call
279
285
  async def get_available_exchanges_without_preload_content(
280
286
  self,
281
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
287
+ market: Annotated[
288
+ MarketType, Field(description="Market type (spot or futures)")
289
+ ],
282
290
  symbol: Annotated[
283
291
  StrictStr, Field(description="Symbol to fetch available exchanges for")
284
292
  ],
285
293
  interval: Annotated[
286
- Optional[StrictStr],
294
+ Optional[TimeInterval],
287
295
  Field(description="Interval for which to fetch available exchanges"),
288
296
  ] = None,
289
297
  start_timestamp: Annotated[
@@ -303,7 +311,7 @@ class ExchangesApi:
303
311
  ),
304
312
  ] = None,
305
313
  status: Annotated[
306
- Optional[StrictStr],
314
+ Optional[TradingStatus],
307
315
  Field(
308
316
  description="Trading pair status for which to fetch available exchanges"
309
317
  ),
@@ -325,11 +333,11 @@ class ExchangesApi:
325
333
  Get available exchanges for a symbol with various filtering options.
326
334
 
327
335
  :param market: Market type (spot or futures) (required)
328
- :type market: Market
336
+ :type market: MarketType
329
337
  :param symbol: Symbol to fetch available exchanges for (required)
330
338
  :type symbol: str
331
339
  :param interval: Interval for which to fetch available exchanges
332
- :type interval: str
340
+ :type interval: TimeInterval
333
341
  :param start_timestamp: Start timestamp for which to fetch available exchanges (defaults to previous 7 day's closing)
334
342
  :type start_timestamp: int
335
343
  :param end_timestamp: End timestamp for which to fetch available exchanges
@@ -337,7 +345,7 @@ class ExchangesApi:
337
345
  :param quote_currency: Quote currency for which to fetch available exchanges (Use quote currencies endpoint to get available quote currencies)
338
346
  :type quote_currency: str
339
347
  :param status: Trading pair status for which to fetch available exchanges
340
- :type status: str
348
+ :type status: TradingStatus
341
349
  :param _request_timeout: timeout setting for this request. If one
342
350
  number provided, it will be total request
343
351
  timeout. It can also be a pair (tuple) of
@@ -422,7 +430,7 @@ class ExchangesApi:
422
430
  # process the query parameters
423
431
  if interval is not None:
424
432
 
425
- _query_params.append(("interval", interval))
433
+ _query_params.append(("interval", interval.value))
426
434
 
427
435
  if start_timestamp is not None:
428
436
 
@@ -438,7 +446,7 @@ class ExchangesApi:
438
446
 
439
447
  if status is not None:
440
448
 
441
- _query_params.append(("status", status))
449
+ _query_params.append(("status", status.value))
442
450
 
443
451
  # process the header parameters
444
452
  # process the form parameters
@@ -451,7 +459,7 @@ class ExchangesApi:
451
459
  )
452
460
 
453
461
  # authentication setting
454
- _auth_settings: List[str] = []
462
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
455
463
 
456
464
  return self.api_client.param_serialize(
457
465
  method="GET",
@@ -471,7 +479,9 @@ class ExchangesApi:
471
479
  @validate_call
472
480
  async def get_available_exchanges_for_market(
473
481
  self,
474
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
482
+ market: Annotated[
483
+ MarketType, Field(description="Market type (spot or futures)")
484
+ ],
475
485
  _request_timeout: Union[
476
486
  None,
477
487
  Annotated[StrictFloat, Field(gt=0)],
@@ -489,7 +499,7 @@ class ExchangesApi:
489
499
  Get list of exchanges for a market.
490
500
 
491
501
  :param market: Market type (spot or futures) (required)
492
- :type market: Market
502
+ :type market: MarketType
493
503
  :param _request_timeout: timeout setting for this request. If one
494
504
  number provided, it will be total request
495
505
  timeout. It can also be a pair (tuple) of
@@ -539,7 +549,9 @@ class ExchangesApi:
539
549
  @validate_call
540
550
  async def get_available_exchanges_for_market_with_http_info(
541
551
  self,
542
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
552
+ market: Annotated[
553
+ MarketType, Field(description="Market type (spot or futures)")
554
+ ],
543
555
  _request_timeout: Union[
544
556
  None,
545
557
  Annotated[StrictFloat, Field(gt=0)],
@@ -557,7 +569,7 @@ class ExchangesApi:
557
569
  Get list of exchanges for a market.
558
570
 
559
571
  :param market: Market type (spot or futures) (required)
560
- :type market: Market
572
+ :type market: MarketType
561
573
  :param _request_timeout: timeout setting for this request. If one
562
574
  number provided, it will be total request
563
575
  timeout. It can also be a pair (tuple) of
@@ -607,7 +619,9 @@ class ExchangesApi:
607
619
  @validate_call
608
620
  async def get_available_exchanges_for_market_without_preload_content(
609
621
  self,
610
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
622
+ market: Annotated[
623
+ MarketType, Field(description="Market type (spot or futures)")
624
+ ],
611
625
  _request_timeout: Union[
612
626
  None,
613
627
  Annotated[StrictFloat, Field(gt=0)],
@@ -625,7 +639,7 @@ class ExchangesApi:
625
639
  Get list of exchanges for a market.
626
640
 
627
641
  :param market: Market type (spot or futures) (required)
628
- :type market: Market
642
+ :type market: MarketType
629
643
  :param _request_timeout: timeout setting for this request. If one
630
644
  number provided, it will be total request
631
645
  timeout. It can also be a pair (tuple) of
@@ -705,7 +719,7 @@ class ExchangesApi:
705
719
  )
706
720
 
707
721
  # authentication setting
708
- _auth_settings: List[str] = []
722
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
709
723
 
710
724
  return self.api_client.param_serialize(
711
725
  method="GET",
@@ -725,7 +739,9 @@ class ExchangesApi:
725
739
  @validate_call
726
740
  async def get_exchange_mappings(
727
741
  self,
728
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
742
+ market: Annotated[
743
+ MarketType, Field(description="Market type (spot or futures)")
744
+ ],
729
745
  exchange_name: Annotated[
730
746
  Optional[StrictStr],
731
747
  Field(description="Exchange name for which to fetch exchange mappings"),
@@ -747,7 +763,7 @@ class ExchangesApi:
747
763
  Get exchange mappings for a market with optional exchange name filter.
748
764
 
749
765
  :param market: Market type (spot or futures) (required)
750
- :type market: Market
766
+ :type market: MarketType
751
767
  :param exchange_name: Exchange name for which to fetch exchange mappings
752
768
  :type exchange_name: str
753
769
  :param _request_timeout: timeout setting for this request. If one
@@ -800,7 +816,9 @@ class ExchangesApi:
800
816
  @validate_call
801
817
  async def get_exchange_mappings_with_http_info(
802
818
  self,
803
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
819
+ market: Annotated[
820
+ MarketType, Field(description="Market type (spot or futures)")
821
+ ],
804
822
  exchange_name: Annotated[
805
823
  Optional[StrictStr],
806
824
  Field(description="Exchange name for which to fetch exchange mappings"),
@@ -822,7 +840,7 @@ class ExchangesApi:
822
840
  Get exchange mappings for a market with optional exchange name filter.
823
841
 
824
842
  :param market: Market type (spot or futures) (required)
825
- :type market: Market
843
+ :type market: MarketType
826
844
  :param exchange_name: Exchange name for which to fetch exchange mappings
827
845
  :type exchange_name: str
828
846
  :param _request_timeout: timeout setting for this request. If one
@@ -875,7 +893,9 @@ class ExchangesApi:
875
893
  @validate_call
876
894
  async def get_exchange_mappings_without_preload_content(
877
895
  self,
878
- market: Annotated[Market, Field(description="Market type (spot or futures)")],
896
+ market: Annotated[
897
+ MarketType, Field(description="Market type (spot or futures)")
898
+ ],
879
899
  exchange_name: Annotated[
880
900
  Optional[StrictStr],
881
901
  Field(description="Exchange name for which to fetch exchange mappings"),
@@ -897,7 +917,7 @@ class ExchangesApi:
897
917
  Get exchange mappings for a market with optional exchange name filter.
898
918
 
899
919
  :param market: Market type (spot or futures) (required)
900
- :type market: Market
920
+ :type market: MarketType
901
921
  :param exchange_name: Exchange name for which to fetch exchange mappings
902
922
  :type exchange_name: str
903
923
  :param _request_timeout: timeout setting for this request. If one
@@ -985,7 +1005,7 @@ class ExchangesApi:
985
1005
  )
986
1006
 
987
1007
  # authentication setting
988
- _auth_settings: List[str] = []
1008
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
989
1009
 
990
1010
  return self.api_client.param_serialize(
991
1011
  method="GET",
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Marketcap Service API
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
+ 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
7
7
 
8
- The version of the OpenAPI document: 1.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  import warnings