Skip to content

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

Filter by

0 results
 (64 ms)

0 results

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

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 
    10 days ago
  • #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 
    15 days ago
  • #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 
    16 days ago
  • #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 
    19 days ago
  • #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

I m attempting to run this code: from backtesting import Strategy, Backtest from backtesting.lib import crossover from backtesting.test import SMA, GOOG class Sma4Cross(Strategy): n1 = 50 n2 ...
invalid
  • kbs-code
  • 1
  • Opened 
    on Apr 7
  • #1260

Currently in the documentation, it says barssince can be used like this: def barssince ( condition, default=inf) Return the number of bars since condition sequence was last True, or if never, return default. ...
  • kbs-code
  • Opened 
    on Apr 1
  • #1259

Expected behavior what i do: 1. pip install backtesting 2. run from backtesting import Backtest, Strategy from backtesting.lib import crossover from backtesting.test import SMA, GOOG class SmaCross(Strategy): ...
wontfix
  • xXgordonXx
  • 1
  • Opened 
    on Mar 27
  • #1257
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! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub