Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when launching strategy #76

Closed
Lexus083 opened this issue Apr 27, 2024 · 12 comments
Closed

error when launching strategy #76

Lexus083 opened this issue Apr 27, 2024 · 12 comments
Assignees
Labels
bug Something isn't working

Comments

@Lexus083
Copy link

[2024-04-27 09:24:05,755: INFO] gRPC session started for client_id: 63285328
trade_id: gHt8aRaFtLqbF2Ur3Nttjk
[2024-04-27 09:24:08,971: DEBUG] Exception on send request <grpc.aio._channel.UnaryUnaryMultiCallable object at 0x0000000007EE01C0>: UNKNOWN, Unexpected <class 'google.protobuf.json_format.ParseError'>: Message type "martin.FetchExchangeInfoSymbolResponse" has no field named "otoAllowed" at "FetchExchangeInfoSymbolResponse".
Available Fields(except extensions): "['symbol', 'status', 'baseAsset', 'baseAssetPrecision', 'quoteAsset', 'quotePrecision', 'quoteAssetPrecision', 'baseCommissionPrecision', 'quoteCommissionPrecision', 'orderTypes', 'icebergAllowed', 'ocoAllowed', 'quoteOrderQtyMarketAllowed', 'allowTrailingStop', 'cancelReplaceAllowed', 'isSpotTradingAllowed', 'isMarginTradingAllowed', 'filters', 'permissions', 'defaultSelfTradePreventionMode', 'allowedSelfTradePreventionModes']"

@Lexus083 Lexus083 added the bug Something isn't working label Apr 27, 2024
@DogsTailFarmer
Copy link
Owner

Hi!

Add some info please:

ver:
exchange:

Regards, Jerry.

@Lexus083
Copy link
Author

martin-binance 1.3.6.post1
exchanges-wrapper 1.3.7.post1
exchange: binance.com

@DogsTailFarmer
Copy link
Owner

DogsTailFarmer commented Apr 28, 2024

Hi! It is really old version, try update, I have not this error on last

pip install -U martin-binance

Regards, Jerry.

PS Don't forget to update the configuration and pair parameters files as well, use templates.

@Lexus083
Copy link
Author

Lexus083 commented Apr 28, 2024

pip install -U martin-binance
Requirement already satisfied: martin-binance in c:\users\user\appdata\local\programs\python\python38\lib\site-packages (1.3.6.post1)

Available only martin-binance 1.3.6.post1

pip install -U exchanges-wrapper
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
martin-binance 1.3.6.post1 requires exchanges-wrapper==1.3.7.post1, but you have exchanges-wrapper 1.4.6 which is incompatible.

@DogsTailFarmer
Copy link
Owner

Try this

pip install martin-binance==3.0.6

@Lexus083
Copy link
Author

Ready. Now another problem has appeared:
exchanges-wrapper-srv
Exception:
Traceback (most recent call last):
NotImplementedError

@DogsTailFarmer
Copy link
Owner

What OS are your used? Attach exch_srv.log with this error.

@Lexus083
Copy link
Author

windows 10
exch_srv.log

@DogsTailFarmer DogsTailFarmer self-assigned this Apr 28, 2024
@DogsTailFarmer
Copy link
Owner

This is a problem with implementing asyncio in a Windows environment. I tried several workarounds, but nothing helped. This version cannot run on Windows in the terminal. Alternatively you can use Docker - install from Docker

@Lexus083
Copy link
Author

I installed Docker, but I don't understand what to do there.

2024-04-29 15:20:51 Traceback (most recent call last):
2024-04-29 15:20:51 File "/home/appuser/.local/lib/python3.10/site-packages/exchanges_wrapper/exch_srv.py", line 5, in
2024-04-29 15:20:51 from exchanges_wrapper import version as ver_ew
2024-04-29 15:20:51 ImportError: cannot import name 'version' from 'exchanges_wrapper' (/home/appuser/.local/lib/python3.10/site-packages/exchanges_wrapper/init.py)

@DogsTailFarmer
Copy link
Owner

I installed Docker, but I don't understand what to do there.

2024-04-29 15:20:51 Traceback (most recent call last): 2024-04-29 15:20:51 File "/home/appuser/.local/lib/python3.10/site-packages/exchanges_wrapper/exch_srv.py", line 5, in 2024-04-29 15:20:51 from exchanges_wrapper import version as ver_ew 2024-04-29 15:20:51 ImportError: cannot import name 'version' from 'exchanges_wrapper' (/home/appuser/.local/lib/python3.10/site-packages/exchanges_wrapper/init.py)

I confirm, I will do this as soon as possible.

Regards, Jerry

@DogsTailFarmer
Copy link
Owner

Hi!

3.0.7 - 2024-05-02

Fix

  • Docker: server-client deployment functionality restored (exchanges-wrapper and martin-binance), also for Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants