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.
Files changed (29) hide show
  1. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_account.py +3 -3
  2. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/PKG-INFO +1 -1
  3. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/PKG-INFO +1 -1
  4. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/pyproject.toml +1 -1
  5. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/tests/test.py +2 -0
  6. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/__init__.py +0 -0
  7. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mrpc_mt4_error_pb2.py +0 -0
  8. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mrpc_mt4_error_pb2_grpc.py +0 -0
  9. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_account_helper_pb2.py +0 -0
  10. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_account_helper_pb2_grpc.py +0 -0
  11. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_charts_pb2.py +0 -0
  12. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_charts_pb2_grpc.py +0 -0
  13. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_connection_pb2.py +0 -0
  14. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_connection_pb2_grpc.py +0 -0
  15. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_health_check_pb2.py +0 -0
  16. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_health_check_pb2_grpc.py +0 -0
  17. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_internal_charts_pb2.py +0 -0
  18. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_internal_charts_pb2_grpc.py +0 -0
  19. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_market_info_pb2.py +0 -0
  20. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_market_info_pb2_grpc.py +0 -0
  21. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_subscriptions_pb2.py +0 -0
  22. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_subscriptions_pb2_grpc.py +0 -0
  23. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_trading_helper_pb2.py +0 -0
  24. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4/mt4_term_api_trading_helper_pb2_grpc.py +0 -0
  25. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/SOURCES.txt +0 -0
  26. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/dependency_links.txt +0 -0
  27. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/requires.txt +0 -0
  28. {metarpcmt4-0.0.2 → metarpcmt4-0.0.3}/MetaRpcMT4.egg-info/top_level.txt +0 -0
  29. {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.message:
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.message:
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.message:
178
+ if res.HasField("error") and res.error.error_message:
179
179
  raise ApiExceptionMT4(res.error)
180
180
 
181
181
  # Save state
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MetaRpcMT4
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: MetaRPC MT4 gRPC Python client
5
5
  Author-email: MetaRPC <admin@mrpc.pro>
6
6
  Requires-Python: >=3.8
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: MetaRpcMT4
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: MetaRPC MT4 gRPC Python client
5
5
  Author-email: MetaRPC <admin@mrpc.pro>
6
6
  Requires-Python: >=3.8
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "MetaRpcMT4"
7
- version = "0.0.2"
7
+ version = "0.0.3"
8
8
  description = "MetaRPC MT4 gRPC Python client"
9
9
  authors = [{ name = "MetaRPC", email = "admin@mrpc.pro" }]
10
10
  readme = "README.md"
@@ -17,6 +17,8 @@ async def test_account_summary():
17
17
  print("✅ Account summary:")
18
18
  print(summary)
19
19
 
20
+ some = await account.quote("sadfsf");
21
+
20
22
  async for tick in account.on_symbol_tick(["EURUSD", "GBPUSD", "BTCUSD"]):
21
23
  print(tick)
22
24
 
File without changes