MetaRpcMT4 0.0.2__tar.gz → 0.0.3__tar.gz
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.
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_account.py +3 -3
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/PKG-INFO +1 -1
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/PKG-INFO +1 -1
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/pyproject.toml +1 -1
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/tests/test.py +2 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/__init__.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mrpc_mt4_error_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mrpc_mt4_error_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_account_helper_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_account_helper_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_charts_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_charts_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_connection_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_connection_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_health_check_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_health_check_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_internal_charts_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_internal_charts_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_market_info_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_market_info_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_subscriptions_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_subscriptions_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_trading_helper_pb2.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_trading_helper_pb2_grpc.py +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/SOURCES.txt +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/dependency_links.txt +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/requires.txt +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/top_level.txt +0 -0
- {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/setup.cfg +0 -0
|
@@ -101,7 +101,7 @@ class MT4Account:
|
|
|
101
101
|
await self.reconnect(deadline)
|
|
102
102
|
continue
|
|
103
103
|
|
|
104
|
-
if res.HasField("error") and res.error.
|
|
104
|
+
if res.HasField("error") and res.error.error_message:
|
|
105
105
|
raise ApiExceptionMT4(res.error)
|
|
106
106
|
|
|
107
107
|
return res
|
|
@@ -139,7 +139,7 @@ class MT4Account:
|
|
|
139
139
|
timeout=30.0 if deadline is None else (deadline - datetime.utcnow()).total_seconds(),
|
|
140
140
|
)
|
|
141
141
|
|
|
142
|
-
if res.HasField("error") and res.error.
|
|
142
|
+
if res.HasField("error") and res.error.error_message:
|
|
143
143
|
raise ApiExceptionMT4(res.error)
|
|
144
144
|
|
|
145
145
|
# Save state
|
|
@@ -175,7 +175,7 @@ class MT4Account:
|
|
|
175
175
|
timeout=30.0 if deadline is None else (deadline - datetime.utcnow()).total_seconds(),
|
|
176
176
|
)
|
|
177
177
|
|
|
178
|
-
if res.HasField("error") and res.error.
|
|
178
|
+
if res.HasField("error") and res.error.error_message:
|
|
179
179
|
raise ApiExceptionMT4(res.error)
|
|
180
180
|
|
|
181
181
|
# Save state
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|