Skip to content

Issue with Trading Bot in dry-run Mode and Connected Real Accounts Bots #369

@Va1b0rt

Description

@Va1b0rt

Problem Description

I have encountered an interesting situation with a trading bot. One instance of the bot is trading in dry-run mode and entering trades with the leverage specified in the strategy. Two additional bots are connected to it via the producer/consumer mode, and they are trading on real accounts. Despite all bots entering the same trades as the main account, they are using different leverages.

Questions

  1. Is it possible that this situation is part of the strategy's mechanics?
  2. What could be the reasons for this behavior?
  3. How can one disable this strategy mechanic if it is causing issues?

Reproduction Steps

  1. Launch the bot in dry-run mode with the specified leverage.
  2. Connect your bots through the producer/consumer mode on real accounts.
  3. Observe differences in leverage when entering the same trades.

Expected Behavior

It was expected that all bots, including the one running in dry-run mode, would use the same leverage when entering the same trades.

Environment Information

  • Bot Version: 2023.10
  • Operating System: debian 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions