Repository navigation
Conversation
Signed-off-by: Yufeng He <40085740+he-yufeng@users.noreply.github.com>
Collaborator
Author
|
@warren618 Could you check the CSV schema choice here? The original four columns stay in place, while strategy labels and comparison outcomes are appended on the right. Failed alternatives and unavailable metrics retain their reasons instead of disappearing from the spreadsheet. |
This branch has not been deployed
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.
Summary
Why
Related: #2202
OptionsLab already displays saved alternatives and their return comparisons, but CSV export only contains the primary strategy. Exporting the same completed analysis to a spreadsheet therefore loses the alternatives and comparison conclusions that remain available in the UI and JSON snapshot.
Changes
resultRequestsnapshot, validate alternative grid alignment and reject non-finite values or malformed results.series,iv,spot,pnlprefix and append metadata columns. Quote commas, quotes and newlines, and neutralize spreadsheet formula prefixes in text cells.No live broker, order, payment, wallet, credential, deployment or real market-data path is changed.
Test Plan
Validation on the original candidate and an independent replay from
6ed378dee5a6e6eb87df796a6546c8ca972a8281:git diff --check, repository grep gates and private-files gate: passed.Checklist
src/agent/,src/session/,src/providers/).