kernc / kernc/backtesting.py

Buy at Open, close at Close of the same candlestick

Open
#249 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
9k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Can you make it so we can buy at Open and close the position at Close the same candlestick?

Thanks

Contributor guide

Open the contributing guide

Research direction

Start by tracing the backtesting engine's order-execution flow to determine how Open and Close prices are handled within one candlestick. Clarify the intended same-candle semantics and edge cases with maintainers before changing behavior; done requires an agreed implementation and coverage for the requested trade sequence.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.