Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. robomotic
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Groups 0

    robomotic

    @robomotic

    0
    Reputation
    313
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    robomotic Unfollow Follow

    Latest posts made by robomotic

    • idea

      Re: Interactive input strategy

      Hello, the commands will be pause/resume trading whereby the strategy will keep resampling the live data but if it receives a pause command it will not place any trading orders (to the broker), once it receives a resume command it will keep placing orders as before.

      Delaying the feed data will be a problem as you are suggesting so I don't think is a good option to follow.

      Hmm what if we have support for a message broker like RabbitMQ whose queue will act as an additional "command" data source and add a method to Strategy called notify_status() that will be called each time there is a new message in the queue (that can be pause/resume), then the Strategy can set an internal state that will know whether to put orders or not.

      posted in General Discussion
      R
      robomotic
    • Interactive input strategy

      Hello there,
      I have just started to learn bt which is awesome.
      I was just reading the documentation and examples, however I cannot find anything relating to using input to control a strategy.
      What I usually do when I deploy a trading bot is to monitor it and if something is going to be wrong make a few adjustments via keyboard commands in real time.
      Is this possible with bt?

      Cheers.

      posted in General Discussion
      R
      robomotic