An open API service indexing awesome lists of open source software.

https://github.com/abdelkaderamar/fix2xml

A C++ library to convert messages between Quickfix and FIXML
https://github.com/abdelkaderamar/fix2xml

cpp finance-api quickfix

Last synced: 11 months ago
JSON representation

A C++ library to convert messages between Quickfix and FIXML

Awesome Lists containing this project

README

          

# FIX2XML



Travis CI

Coverage Status


Key Features
How To Use
Compilation
Credit
License

## Key Features
- Convert C++ quickfix messages to FIXML
- Convert a FIXML messages to a C++ quickfix messages

## How To Use

The code below shows how to convert a C++ quickfix message to its FIXML representation.
```cpp
fixml2fix_converter converter (fix_filename, xsd_schema);
NewOrderSingle fix_message;
// set FIX messages fields
// ...
// ...
converter.fix2fixml(fix_message, str);
```

The conversion from a FIXML message to its equivalent C++ quickfix message can be done using the same converter type `fixml2fix_converter`

```cpp
string str =
" "
" "
" "
" "
" "
" "
;
FIX::Message fix_msg;
converter.fixml2fix(str, fix_msg);
```
## Compilation

## Credit
- [gcc](https://gcc.gnu.org/)
- [boost](https://www.boost.org/)
- [Apache Xerces-C++](http://xerces.apache.org/xerces-c/)
- [Cmake](https://cmake.org/)
- [Google Test](https://github.com/google/googletest)

## License
MIT