Skip to content

issues Search Results · repo:kernc/backtesting.py language:Python

Filter by

547 results
 (64 ms)

547 results

inkernc/backtesting.py (press backspace or delete to remove)

Enhancement description Currently, backtesting.py allows the placement of limit orders. However, these orders appear to remain Good-Til-Cancelled (GTC) indefinitely if not immediately triggered. There ...
enhancement
  • JohnyBuk
  • 1
  • Opened 
    13 days ago
  • #1285

Expected behavior I get this error when trying to plot the data. No args or kwargs passed to backtest.plot { name : AttributeError , message : Document object has no attribute js_on_event , stack : --------------------------------------------------------------------------- ...
  • Chidifinance
  • Opened 
    on Jun 10
  • #1282

Expected behavior The code that triggers this issue is self.I(lambda x: x[ y_true ].values, self._y_pred, name= y_true ) where len(self._y_pred) == len(self._y_pred[ y_true ]) obviously. What I am doing ...
  • bravegag
  • 1
  • Opened 
    on Jun 8
  • #1280

Hello! I m running a backtest on a Ryzen 7 7700. The dataset is on the large side: 204342 candles, but on the other side the strategy is really simple. When I run it I get like 2000bar/s and then it ...
question
  • ironhak
  • 4
  • Opened 
    on May 25
  • #1275

Expected behavior Expected all opened position to be plotted on bt.plot. Code sample Actual behavior Image Image Log file shows that although the logic opened a short position, it is not being shown ...
invalid
  • dr-arrgghh
  • 1
  • Opened 
    on May 20
  • #1274

Expected behavior It appears the commission is being added directly to the per-unit adjusted price in: https://github.com/kernc/backtesting.py/blob/d271812c61bf42cb5df93998939109a2b13c578f/backtesting/backtesting.py#L944 ...
  • esaesa
  • 2
  • Opened 
    on May 19
  • #1273

Enhancement description Currently, backtesting can only display bars at the hourly level or above. Can it be improved to show minute-level bars? This would facilitate more accurate judgment and review ...
invalid
  • zha0yangchen
  • 1
  • Opened 
    on May 16
  • #1271

Hi, I m not sure if I should write my current understanding here. So I came accross this library to do backtesting (Love it! keep doing what you re doing!) and I use this code snippet to run the backtesting ...
question
  • ekarudianto
  • 1
  • Opened 
    on Apr 25
  • #1270

Enhancement description In relation to this issue where a progress bar was added: https://github.com/kernc/backtesting.py/issues/187 It d be great to have a parameter to be able to turn this off. Code ...
question
  • tkdtaylor
  • 1
  • Opened 
    on Apr 8
  • #1265

Enhancement description Great library, I d love to be able to set a shape and size other than the circle when adding a scatter plot indicator. An example is plotting news articles with different shapes ...
enhancement
  • tkdtaylor
  • 1
  • Opened 
    on Apr 8
  • #1261
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub