#5 feat: Add index instrument type support and improve error handling

Merged
muhammad.uzair merged 1 commits from MQL-Development/feature/cherry-picked-to-master into MQL-Development/master 3 months ago
  • Add 'index' as a valid instrumentType in Symbol model and validation schemas
  • Create migration to update database CHECK constraint for instrument_type
  • Implement duplicate handling in symbol creation using findOrCreate
  • Add duplicate detection and logging in bulk candle creation
  • Improve error handling in getLatestCandle to return success response instead of error
  • Update README to reflect support for indices
  • Ensure all functionalities remain intact while enhancing robustness
- Add 'index' as a valid instrumentType in Symbol model and validation schemas - Create migration to update database CHECK constraint for instrument_type - Implement duplicate handling in symbol creation using findOrCreate - Add duplicate detection and logging in bulk candle creation - Improve error handling in getLatestCandle to return success response instead of error - Update README to reflect support for indices - Ensure all functionalities remain intact while enhancing robustness
This pull request has been merged successfully!
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.