Repository navigation
fix(trading): complete native protection routing and safe reconciliation - #430
Merged
Merged
Conversation
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM> # Conflicts: # backend_api_python/app/routes/community.py
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Expose a restart-scoped 1-60 minute quote-age setting with a 16-minute default, align equity receipt expiry, retain provider timestamp and session checks, and document delayed-feed risks. Validation: 215 focused backend tests passed; Ruff, backend quality, encoding and version checks passed. Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
The merged main tree exactly matches the pre-change test tree; preserve the verified quote-policy changes while recording merge ancestry. Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: Prakash Jha <callmepnj@gmail.com> (cherry picked from commit a5c7b82) Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
(cherry picked from commit 76ea213) Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
…paths Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
|
5 of 9 tasks
MrRakun35
pushed a commit
to MrRakun35/NovaTrade
that referenced
this pull request
Nov 29, 2026
…eInc#422, OpenByteInc#423, OpenByteInc#430) preserving NovaTrade config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Quick Trade could accept an entry while dropping trailing-stop parameters, losing protection intent on deferred fills, or reporting runtime-only markers as native protection. Some stock broker routes also accepted parameters that were never submitted to the broker.
Closes #428.
Builds on #429 by @PranavHariharan19. The original commit
76ea2139d15445d980e4fba879c115f70bde4ef4was cherry-picked as6eeec45b4c9dbad2a6263dc9022660176098b38cwith its original author preserved; follow-up hardening remains in separate commits.Changes
Companion clients
Validation
Deployment and limits
No database migration. Deploy the backend and trading workers with both clients. Existing failed or uncertain protection must be reconciled against venue orders and remaining positions; do not repeat entry. Quick Trade has no local stop-monitor fallback; strategy runtime protection requires a running executor, usable quotes and an executable market session.
Stock broker protection uses broker order views, not the crypto Quick Trade journal. Tiger/Webull children use DAY validity and regular sessions; IBKR children use GTC. HTX uses optimal_20, which does not guarantee a complete fill. Query/cancel screens do not yet cover every new conditional-order family; use venue-side management for orders not listed locally.
Forthright native strategy orders are deferred. Standalone Alpaca/Webull trailing, Bybit distance-based position trailing and crypto spot OCO are separate integrations and are not implemented by this PR's attached-entry controls.
Attribution when merging
Retain the imported author commit when merging. If using squash merge, retain this trailer in the final commit:
Co-authored-by: Pranav pranavhariharanofficial@gmail.com