8000 Enhance security information retrieval and handling by Shpigford · Pull Request #1826 · maybe-finance/maybe · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Enhance security information retrieval and handling #1826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 11, 2025

Conversation

Shpigford
Copy link
Member
@Shpigford Shpigford commented Feb 7, 2025
  • Add support for operating MIC codes in security info fetching
  • Update security uniqueness validation to handle unknown securities
  • Improve security creation and update logic in Plaid investment sync
  • Update combobox and view components to handle operating MIC codes
  • Add unknown flag for securities with incomplete information

Todo:

  • Skip price syncing if unknown = true
  • Figure out proper migration/cleanup of duplicated ticker data in production

- Add support for operating MIC codes in security info fetching
- Update security uniqueness validation to handle unknown securities
- Improve security creation and update logic in Plaid investment sync
- Update combobox and view components to handle operating MIC codes
- Add unknown flag for securities with incomplete information
@Shpigford Shpigford requested a review from zachgoll February 7, 2025 16:24
@Shpigford
Copy link
Member Author

@zachgoll There's a LOT happening here...definitely got more complex the deeper I dove into addressing the issue. So if something glaring jumps out at you on simplifying this, let me know.

@Shpigford
Copy link
Member Author

@zachgoll This is ready for another look.

Two big things that definitely need a closer eye:

  1. The deduplication rake tasks
  2. Failing tests

- Modify PlaidInvestmentSync to return plaid_security for USD cash
- Add non-null constraint to Securities ticker column
- Update Securities fixture to use exchange_operating_mic instead of exchange_mic
Signed-off-by: Josh Pigford <josh@joshpigford.com>
@Shpigford Shpigford marked this pull request as ready for review February 11, 2025 16:27
@Shpigford Shpigford merged commit 68d7cb5 into main Feb 11, 2025
5 checks passed
@Shpigford Shpigford deleted the mic-code-optimizations branch February 11, 2025 16:40
pranav7 pushed a commit to pranav7/maybe that referenced this pull request Mar 2, 2025
< 6E3F input type="hidden" name="badge_size" value="small" autocomplete="off" data-targets="batch-deferred-content.inputs" />
* Enhance security information retrieval and handling

- Add support for operating MIC codes in security info fetching
- Update security uniqueness validation to handle unknown securities
- Improve security creation and update logic in Plaid investment sync
- Update combobox and view components to handle operating MIC codes
- Add unknown flag for securities with incomplete information

* Update schema.rb

* Refactor the need for mic codes

* Don't fetch prices unless a security has the necessary mic code

* Deduplication

* Lint

* Update Securities and Plaid Investment Sync

- Modify PlaidInvestmentSync to return plaid_security for USD cash
- Add non-null constraint to Securities ticker column
- Update Securities fixture to use exchange_operating_mic instead of exchange_mic

---------

Signed-off-by: Josh Pigford <josh@joshpigford.com>
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
0