Screens & ownershipFind routes, owners, and evidence

Screens & ownership

reachablecached Fresh evidence

Market discovery & symbol search

Market combines category discovery, themes, quick tools, local filtering, a cached IDX directory, and remote symbol search.

Screen

IC-Trade Market discovery screen
Search and discovery entry point for IDX instruments and tools.

Entry points and state

App route
AppTab.market → stockDetail / themeDetail / quickTool
Engineering owner
Markets
KYC boundary
Always browseable.

Entry points

  • Market bottom tab

State ownership

  • SearchView local category/query state
  • IDXSymbolDirectoryViewModel @StateObject

Data provenance

Read this boundary before interpreting realistic market, identity, order, or portfolio presentation as production data.

Mode
cached
Primary source
RapidAPI symbol directory and remote search when configured
Fallback
Cached directory plus bundled discovery catalog/sample symbols
Persistence
IDX symbol cache on device; recent searches remain view-local
Network boundary
RapidAPI called from the iOS client
Production ready
No
Operational caveat
Discovery cards and many market modules are illustrative even when symbol identity comes from a live/cached directory.

Dependencies and tests

Dependencies

  • IDXSymbolDirectoryService
  • DiscoveryCatalog
  • RapidAPI symbol list/search clients
  • filesystem cache

Characterization evidence

  • IDXSymbolDirectoryTests decode/search/cache/merge cases
  • StockDetailSectionPolicyTests

Audited source evidence

These are small, sanitized excerpts—not complete source files. A changed hash must be reviewed before this record is marked fresh again.

Alva Online Trading/Features/Search/SearchView.swift fresh

Symbol: SearchView

Market owns category, query, recent search, and an async symbol-directory view model.
Audited SHA-256
578529bc7d9964a174f34c3e07d1e9fc0eaebf51e958488845b662582f718332
Alva Online Trading/Features/Symbols/IDXSymbolDirectoryService.swift fresh

Symbol: IDXSymbolDirectoryService

The directory reads cache first and refreshes or unions remote search results.
Audited SHA-256
b95e2cc6e5e2aa40c9b7d1cadc3a5d082cd5d2decd0905b71d1c1d07c118d01e