Skip to content

fix: add missing symbols to DB before inserting positions#40

Open
sirknigget wants to merge 1 commit into
ed-donner:mainfrom
sirknigget:fix_multiple_accounts_test
Open

fix: add missing symbols to DB before inserting positions#40
sirknigget wants to merge 1 commit into
ed-donner:mainfrom
sirknigget:fix_multiple_accounts_test

Conversation

@sirknigget
Copy link
Copy Markdown
Contributor

Summary

  • Add the missing TSLA and ARKK symbols to backend/test_multiple_accounts.py
  • Fix the multiple-accounts test setup so all referenced instruments exist in the database

Why

The test referenced symbols that were missing from the DB setup, which caused the test to fail with a foreign key error when creating holdings.

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.

1 participant