fix-api
v0.0.11
Published
>TypeScript version fix protocol --- >Financial Information eXchange
Downloads
27
Maintainers
Readme
TypeScript version fix protocol
Financial Information eXchange
How to use?
import FIXParser, { Message } from 'fix-api';
const fixParser = new FIXParser();
fixParser.fixVersion = #your version;
fixParser.connect({
host: #stunnelHost,
port: #stunnelPort
});
fixParser.on('open',()=>{
console.log('open')
})
fixParser.on('messsage',(message:Message)=>{
console.log(message)
console.log(message.string)
console.log(message.description)
})