Backtrader Community

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Buying Daily. Selling Intraday

    General Code/Help
    1
    1
    38
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rishabmah5 last edited by

      Hi,

      I have a backtest I want to run where it should identify the signals at the end of each day and only place an order at the end of the day. For the sell condition, I want to sell when the stock reaches a certain price, even if it is during the day. Currently, my program can only identify the signal at the end of the day and then will sell at the open of the next day. Could someone help me figure out how to sell my position during the day if it goes below or above a certain price?

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors