asavinov / intelligent-trading-bot

Intelligent Trading Bot: Automatically generating signals and trading based on machine learning and feature engineering
https://t.me/intelligent_trading_signals
MIT License
803 stars 179 forks source link

Trade not run #14

Open abdellah9 opened 1 year ago

abdellah9 commented 1 year ago

I try to run trade service but its stop with no reason

MOVZX commented 1 year ago

Trade service is not yet ready.

asavinov commented 1 year ago

I try to run trade service but its stop with no reason

If you could provide more details about "stop" (exception, no response, error/warning messages etc.), "no reason" as well as your config then this would help to understand what happens. Yet, note that the trader service was not tested for the last couple of releases (although there were no significant changes which could break it)

abdellah9 commented 1 year ago

I run python3 -m service.trade -c config.json The problem not showing anything just back to the commd line

asavinov commented 1 year ago

There is no separate trade service. The module service.trader.py contains only some functions for trading. So do not execute it. (Yes, the name is somewhat misleading but it is for historic reasons.)

To do trades, start the only available service service.server.py. By default (see App.py) it will do only analysis with notifications and no trading. This can be changed by setting this parameter: "actions": ["notify", "trade"] (either in App.py or in config.json). In this case, it will do analysis, generate signal, and then execute trades if necessary.

abdellah9 commented 1 year ago

There is no separate trade service. The module service.trader.py contains only some functions for trading. So do not execute it. (Yes, the name is somewhat misleading but it is for historic reasons.)

To do trades, start the only available service service.server.py. By default (see App.py) it will do only analysis with notifications and no trading. This can be changed by setting this parameter: "actions": ["notify", "trade"] (either in App.py or in config.json). In this case, it will do analysis, generate signal, and then execute trades if necessary.

I try it bot run normally get signal trade but there is no orders apply