Skip to content

Validation missing for cross-currency repos #256

@oasuncion

Description

@oasuncion

Cross-currency repos are for the moment not completely managed.
Validation is missing (check of the collateral currency vs trade currency, they should be identical when the trade is not flagged 'Cross Currency Collateral' ).

To Reproduce
Steps to reproduce the behavior:

  1. Go to the web Specific Repo trade booking screen and enter a repo trade that is not flagged as 'Cross Currency Collateral'. Ensure to have set a security having a currency different from the repo trade currency.
  2. Click on 'Save'
  3. There is no error and the trade is saved
  4. Redo step 1, 2 and 3 this time with a GC Repo.

Expected behavior
The trade should have been rejected with an error message explaining that such repo trades don't allow securities with a currency different from the repo currency.

Screenshots

Image

Environment:

  • Version 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions