Trade IDs

Updated by Sameer Soleja

Molecule currently offers two different trade IDs:

  • M.ID (sometimes called trade_id, id, or m_id): this is a guaranteed-unique ID for a trade. Is sequential, but will have variable-length gaps between trades in your account.
  • Friendly ID: this is an ID specific to your account. It will not have gaps between trades (other than for deleted trades or Cascading trades). However, this field is deprecated.
Friendly ID is deprecated and will be removed in a future release. As such, we recommend relying on M.ID.

How did we do?