Skip to content

Conversation

@lowhung
Copy link
Owner

@lowhung lowhung commented Apr 3, 2025

No description provided.

lowhung added 3 commits April 4, 2025 11:03
This commit adds a conversational flow for creating positions after chart analysis:

1. Added PositionCreationView UI component:
   - Intelligent extraction of trading data from chart analysis text
   - Interactive buttons and modals for updating position details
   - Position type selection with clear visual indicators
   - Support for entering symbols and prices not detected in analysis

2. Enhanced chart analysis command:
   - Added "Create Position" button to analysis results
   - Interactive flow for confirming and modifying position details
   - Public announcements when positions are created
   - Support for both slash commands and prefix commands

3. Improved user experience:
   - Private position creation dialogs for security
   - Data validation with helpful error messages
   - Proper cleanup and handling of timeouts
   - Consistent command references across the app

This implementation fulfills the requirement for a conversational position creation
flow that starts from chart analysis and guides users through creating positions,
with announcements to relevant channels when positions are created.
# Conflicts:
#	src/bots/discord_bot.py
@lowhung lowhung force-pushed the feature/conversational-position-creation branch from 2c3f36e to fa323f5 Compare April 4, 2025 18:15
lowhung added 2 commits April 4, 2025 11:47
…buttons and display the parameters there, but still give them the option to change them.
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