intelligent-trading-bot icon indicating copy to clipboard operation
intelligent-trading-bot copied to clipboard

Trade not run

Open abdellah9 opened this issue 2 years ago • 5 comments

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

abdellah9 avatar Oct 14 '22 15:10 abdellah9

Trade service is not yet ready.

MOVZX avatar Oct 16 '22 01:10 MOVZX

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)

asavinov avatar Oct 16 '22 08:10 asavinov

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

abdellah9 avatar Oct 16 '22 10:10 abdellah9

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.

asavinov avatar Oct 17 '22 17:10 asavinov

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

abdellah9 avatar Oct 25 '22 15:10 abdellah9