piker/tests
Tyler Goodlet 56b660fe34 Draft a gt-one-`.fqme`-in-txns/account-file test
To start this is just a shell for the test, there's no checking logic
yet.. put it as `test_accounting.test_ib_account_with_duplicated_mktids()`.
The test is composed for now to be completely runtime-free using only
the offline txn-ledger / symcache / account loading APIs, ideally we
fill in the activated symbology-data-runtime cases once we figure a sane
way to handle incremental symcache updates for backends like IB..

To actually fill the test out with real checks we still need to,
- extract the problem account file from my ib.algopape into the test
  harness data.
- pick some contracts with multiple fqmes despite a single bs_mktid and
  ensure they're aggregated as a single `Position` as well as,
  * ideally de-duplicating txns from the account file section for the
    mkt..
  * warning appropriately about greater-then-one fqme for the bs_mktid
    and providing a way for the ledger re-writing to choose the
    appropriate `<venue>` as the "primary" when the
    data-symbology-runtime is up and possibly use it to incrementally
    update the IB symcache and store offline for next use?
2025-09-29 15:02:50 -04:00
..
_inputs Add first account cumsize test; known to fail Bo 2023-07-14 17:54:13 -04:00
conftest.py Use `pytest` plugin now exposed by `tractor` 2025-09-29 14:36:55 -04:00
test_accounting.py Draft a gt-one-`.fqme`-in-txns/account-file test 2025-09-29 15:02:50 -04:00
test_cli.py Skip CLI tests due to questrade dependency for now 2021-05-22 15:12:12 -04:00
test_docker_services.py Skip marketstore docker tests, we're gonna drop it.. 2023-06-27 13:42:08 -04:00
test_ems.py Drop `open_pps()` from ems tests 2025-09-29 13:33:03 -04:00
test_feeds.py Move tmpdir creation into separate fixture 2023-05-22 12:03:32 -04:00
test_questrade.py Spurious first-draft of EG collapsing 2025-09-15 19:27:56 -04:00
test_services.py Parametrize ems service test to cancel with API and kbi 2023-05-28 14:28:56 -04:00
test_watchlists.py Capture the right logger 2019-02-10 17:29:08 -05:00