Skip to content

Use a C24 Transform to split out FpML trades, trade legs and cashflows

Notifications You must be signed in to change notification settings

cb160/c24-example-fpml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

c24-example-fpml

Use a C24 Transform to split out FpML trades, trade legs and cashflows

This is a simple example transform that reads in a file containing 25 FpML5-4 FX Swaps, and extracts the trade details, the individual trade legs, and the cashflows into 3 separate files.

To build:

mvn clean install

To run:

mvn exec:java -Dexec.mainClass="biz.c24.io.examples.fpml.SplitTradesLegsAndCashflows"

This will produce 3 files in the project root:

trades.txt legs.txt cashflows.txt

The C24 models and transforms implementing this are found in src/main/c24/demoware/FpML/SplitTradesLegsAndCashflows

The simple main class that runs the transform is found in src/main/java/biz/c24/io/examples/fpml/SplitTradesLegsAndCashflows.java

About

Use a C24 Transform to split out FpML trades, trade legs and cashflows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published