Skip to content

Buy1 zero-start entry price: prev_c / 0.935 → prev_c * 1.15 (UI sync)#69

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/update-buy1-price-logic
Closed

Buy1 zero-start entry price: prev_c / 0.935 → prev_c * 1.15 (UI sync)#69
Copilot wants to merge 1 commit into
mainfrom
copilot/update-buy1-price-logic

Conversation

Copilot AI commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

The core engines (strategy_reversion.py, strategy_v14_vwap.py) were already patched to V44.11 (prev_c * 1.15) for zero-start Buy1, but the UI rendering layers still used the old / 0.935 (~+6.95%) formula — causing a visible mismatch between displayed guidance and actual order prices.

Changes

  • telegram_bot.py — V_REV /sync guidance block (v_rev_guidance Buy1 line)
  • telegram_view.py — V14 zero-start virtual order generation (가상 매수(Buy1) LOC entry)
# Before (both files)
b1_price = round(prev_c / 0.935, 2)   # ≈ +6.95%

# After
b1_price = round(prev_c * 1.15, 2)    # +15.0%, matches core engine

No other files touched. Core modules (strategy_reversion.py, strategy_v14.py, etc.), HTML tag structure, and ZoneInfo('America/New_York') lock-on are all unmodified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants