crypticorn 1.0.2rc1__py3-none-any.whl → 1.0.2rc3__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.
- crypticorn/client.py +3 -709
- crypticorn/hive/__init__.py +1 -0
- crypticorn/klines/__init__.py +2 -0
- crypticorn/klines/main.py +1 -1
- crypticorn/trade/__init__.py +2 -0
- crypticorn/trade/client/models/action_model.py +4 -4
- crypticorn/trade/client/models/api_key_model.py +4 -4
- crypticorn/trade/client/models/bot_model.py +4 -4
- crypticorn/trade/client/models/notification_model.py +4 -4
- crypticorn/trade/client/models/order_model.py +4 -4
- crypticorn/trade/client/models/strategy_model.py +4 -4
- crypticorn/trade/main.py +4 -3
- {crypticorn-1.0.2rc1.dist-info → crypticorn-1.0.2rc3.dist-info}/METADATA +16 -16
- {crypticorn-1.0.2rc1.dist-info → crypticorn-1.0.2rc3.dist-info}/RECORD +17 -47
- crypticorn/trade/test/__init__.py +0 -0
- crypticorn/trade/test/test_action_model.py +0 -87
- crypticorn/trade/test/test_api_error_identifier.py +0 -33
- crypticorn/trade/test/test_api_key_model.py +0 -61
- crypticorn/trade/test/test_api_keys_api.py +0 -66
- crypticorn/trade/test/test_bot_model.py +0 -64
- crypticorn/trade/test/test_bots_api.py +0 -59
- crypticorn/trade/test/test_exchange.py +0 -33
- crypticorn/trade/test/test_exchanges_api.py +0 -38
- crypticorn/trade/test/test_execution_ids.py +0 -68
- crypticorn/trade/test/test_futures_balance.py +0 -62
- crypticorn/trade/test/test_futures_trading_action.py +0 -86
- crypticorn/trade/test/test_futures_trading_panel_api.py +0 -66
- crypticorn/trade/test/test_http_validation_error.py +0 -58
- crypticorn/trade/test/test_margin_mode.py +0 -33
- crypticorn/trade/test/test_market_type.py +0 -33
- crypticorn/trade/test/test_notification_model.py +0 -59
- crypticorn/trade/test/test_notification_type.py +0 -33
- crypticorn/trade/test/test_notifications_api.py +0 -73
- crypticorn/trade/test/test_order_model.py +0 -75
- crypticorn/trade/test/test_order_status.py +0 -33
- crypticorn/trade/test/test_orders_api.py +0 -38
- crypticorn/trade/test/test_post_futures_action.py +0 -72
- crypticorn/trade/test/test_status_api.py +0 -38
- crypticorn/trade/test/test_strategies_api.py +0 -38
- crypticorn/trade/test/test_strategy_exchange_info.py +0 -54
- crypticorn/trade/test/test_strategy_model.py +0 -73
- crypticorn/trade/test/test_tpsl.py +0 -56
- crypticorn/trade/test/test_trading_action_type.py +0 -33
- crypticorn/trade/test/test_trading_actions_api.py +0 -52
- crypticorn/trade/test/test_update_notification.py +0 -54
- crypticorn/trade/test/test_validation_error.py +0 -60
- crypticorn/trade/test/test_validation_error_loc_inner.py +0 -50
- {crypticorn-1.0.2rc1.dist-info → crypticorn-1.0.2rc3.dist-info}/LICENSE.md +0 -0
- {crypticorn-1.0.2rc1.dist-info → crypticorn-1.0.2rc3.dist-info}/WHEEL +0 -0
- {crypticorn-1.0.2rc1.dist-info → crypticorn-1.0.2rc3.dist-info}/top_level.txt +0 -0
@@ -1,60 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
FastAPI
|
5
|
-
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
The version of the OpenAPI document: 0.1.0
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
-
|
11
|
-
Do not edit the class manually.
|
12
|
-
""" # noqa: E501
|
13
|
-
|
14
|
-
|
15
|
-
import unittest
|
16
|
-
|
17
|
-
from crypticorn.trade.client.models.validation_error import ValidationError
|
18
|
-
|
19
|
-
class TestValidationError(unittest.TestCase):
|
20
|
-
"""ValidationError unit test stubs"""
|
21
|
-
|
22
|
-
def setUp(self):
|
23
|
-
pass
|
24
|
-
|
25
|
-
def tearDown(self):
|
26
|
-
pass
|
27
|
-
|
28
|
-
def make_instance(self, include_optional) -> ValidationError:
|
29
|
-
"""Test ValidationError
|
30
|
-
include_optional is a boolean, when False only required
|
31
|
-
params are included, when True both required and
|
32
|
-
optional params are included """
|
33
|
-
# uncomment below to create an instance of `ValidationError`
|
34
|
-
"""
|
35
|
-
model = ValidationError()
|
36
|
-
if include_optional:
|
37
|
-
return ValidationError(
|
38
|
-
loc = [
|
39
|
-
null
|
40
|
-
],
|
41
|
-
msg = '',
|
42
|
-
type = ''
|
43
|
-
)
|
44
|
-
else:
|
45
|
-
return ValidationError(
|
46
|
-
loc = [
|
47
|
-
null
|
48
|
-
],
|
49
|
-
msg = '',
|
50
|
-
type = '',
|
51
|
-
)
|
52
|
-
"""
|
53
|
-
|
54
|
-
def testValidationError(self):
|
55
|
-
"""Test ValidationError"""
|
56
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
57
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
58
|
-
|
59
|
-
if __name__ == '__main__':
|
60
|
-
unittest.main()
|
@@ -1,50 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
FastAPI
|
5
|
-
|
6
|
-
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
7
|
-
|
8
|
-
The version of the OpenAPI document: 0.1.0
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
10
|
-
|
11
|
-
Do not edit the class manually.
|
12
|
-
""" # noqa: E501
|
13
|
-
|
14
|
-
|
15
|
-
import unittest
|
16
|
-
|
17
|
-
from crypticorn.trade.client.models.validation_error_loc_inner import ValidationErrorLocInner
|
18
|
-
|
19
|
-
class TestValidationErrorLocInner(unittest.TestCase):
|
20
|
-
"""ValidationErrorLocInner unit test stubs"""
|
21
|
-
|
22
|
-
def setUp(self):
|
23
|
-
pass
|
24
|
-
|
25
|
-
def tearDown(self):
|
26
|
-
pass
|
27
|
-
|
28
|
-
def make_instance(self, include_optional) -> ValidationErrorLocInner:
|
29
|
-
"""Test ValidationErrorLocInner
|
30
|
-
include_optional is a boolean, when False only required
|
31
|
-
params are included, when True both required and
|
32
|
-
optional params are included """
|
33
|
-
# uncomment below to create an instance of `ValidationErrorLocInner`
|
34
|
-
"""
|
35
|
-
model = ValidationErrorLocInner()
|
36
|
-
if include_optional:
|
37
|
-
return ValidationErrorLocInner(
|
38
|
-
)
|
39
|
-
else:
|
40
|
-
return ValidationErrorLocInner(
|
41
|
-
)
|
42
|
-
"""
|
43
|
-
|
44
|
-
def testValidationErrorLocInner(self):
|
45
|
-
"""Test ValidationErrorLocInner"""
|
46
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
47
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
48
|
-
|
49
|
-
if __name__ == '__main__':
|
50
|
-
unittest.main()
|
File without changes
|
File without changes
|
File without changes
|