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
- Host: GitHub
- URL: https://github.com/abdelkaderamar/fix2xml
- Owner: abdelkaderamar
- License: mit
- Created: 2018-03-15T22:35:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T13:02:22.000Z (over 7 years ago)
- Last Synced: 2025-01-30T11:09:59.909Z (about 1 year ago)
- Topics: cpp, finance-api, quickfix
- Language: C++
- Homepage:
- Size: 10.5 MB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FIX2XML
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