1. Stock Trading Platform
  2. Data model and import order
Reference

The tables behind Stock Trading Platform

Stock Trading Platform ships with 15 tables, grouped here by the feature that uses them. Every record your team works with lives in one of them, and you can add fields and tables in Proto.

Tables
15
Features
7
Change it
Add fields and tables in Proto

How the model is organised

Instructions:

Instructions, record attachments. Trading instructions with counterparty, amount, revision and provider reference, plus supporting files.

Independent review:

Review decisions. Approve, reject or return decisions on an instruction revision.

Trading orders:

Trading orders, Executions. Market and limit orders with broker executions taken once each.

Evidence and reconciliation:

Execution evidence, execution receipts, operation receipts. Provider evidence lines, approved execution receipts and a receipt for every guarded operation.

Positions:

Position snapshots. Provider snapshots by account, instrument and date.

Reference data:

Organizations, Counterparties, trading accounts, Instruments, team members, Users. Entities, eligible counterparties, custodied accounts, tradable instruments and desk staff.

Every table, by feature

Instructions

5 tablesAbout this feature
  • Instructions

    Trading instructions prepared, authorized and submitted to providers

    Linked to Organizations, Team members, Counterparties
  • Record attachments

    Supporting files attached to instructions

    Linked to Instructions, Team members
  • Counterparties

    Brokers and counterparties eligible for instructions

    Linked to Organizations
  • Organizations

    Legal entities operating the trading desk

  • Team members

    Desk staff with platform identity and role scope

    Linked to Organizations, Users

Independent review

4 tablesAbout this feature
  • Review decisions

    Independent reviewer decisions on instruction revisions

    Linked to Instructions, Team members
  • Instructions

    Trading instructions prepared, authorized and submitted to providers

    Linked to Organizations, Team members, Counterparties
  • Execution receipts

    Broker-confirmed execution reconciliation records

    Linked to Instructions, Organizations, Trading orders, Instruments
  • Team members

    Desk staff with platform identity and role scope

    Linked to Organizations, Users

Trading orders

4 tablesAbout this feature
  • Trading orders

    Orders submitted to the broker connection

    Linked to Trading accounts, Instruments
  • Executions

    Deduplicated broker executions per order

    Linked to Trading orders
  • Trading accounts

    Custodied trading accounts used for orders

  • Instruments

    Tradable instruments with venue and quote currency

Executions and evidence

4 tablesAbout this feature
  • Execution evidence

    Provider execution evidence lines awaiting verification

    Linked to Instructions
  • Executions

    Deduplicated broker executions per order

    Linked to Trading orders
  • Instructions

    Trading instructions prepared, authorized and submitted to providers

    Linked to Organizations, Team members, Counterparties
  • Trading orders

    Orders submitted to the broker connection

    Linked to Trading accounts, Instruments

Execution receipts and reconciliation

4 tablesAbout this feature
  • Execution receipts

    Broker-confirmed execution reconciliation records

    Linked to Instructions, Organizations, Trading orders, Instruments
  • Operation receipts

    Durable receipts for guarded workflow operations

    Linked to Instructions
  • Review decisions

    Independent reviewer decisions on instruction revisions

    Linked to Instructions, Team members
  • Instructions

    Trading instructions prepared, authorized and submitted to providers

    Linked to Organizations, Team members, Counterparties

Positions

4 tablesAbout this feature
  • Position snapshots

    Provider position snapshots by account and instrument

    Linked to Trading accounts, Instruments
  • Trading accounts

    Custodied trading accounts used for orders

  • Instruments

    Tradable instruments with venue and quote currency

  • Executions

    Deduplicated broker executions per order

    Linked to Trading orders

Counterparties, accounts and instruments

6 tablesAbout this feature
  • Counterparties

    Brokers and counterparties eligible for instructions

    Linked to Organizations
  • Trading accounts

    Custodied trading accounts used for orders

  • Instruments

    Tradable instruments with venue and quote currency

  • Organizations

    Legal entities operating the trading desk

  • Team members

    Desk staff with platform identity and role scope

    Linked to Organizations, Users
  • Users

    Users

    Linked to Users

Keys and references

An instruction references its organization, owner and counterparty; evidence lines, execution receipts, operation receipts, review decisions and attachments reference the instruction. Trading orders reference the account and instrument; executions reference the order; execution receipts also reference the order and instrument. Position snapshots reference the account and instrument. Keep provider event IDs, provider execution IDs, external order IDs and external account IDs exactly as the provider sends them; they are how repeats are recognised.

Migration order

  1. Load Users, Organizations and team members.
  2. Load Counterparties, trading accounts and Instruments.
  3. Load open Instructions with their record attachments and current revision.
  4. Load working trading orders and their Executions.
  5. Load the latest position snapshots for each account.
  6. Reconcile open instructions, orders and positions with the current system and test permissions before go-live.

Set up Stock Trading Platform your way.

Start free, then use Proto to change fields, steps and approvals before your team goes live.

How to get started