Companies using this library may have access to bloomberg or reuters so an API to interact with the bloomberg or reuters API may be enough. Otherwise you would probably need to charge for access to market data.
But to offer this commercially, you will need to support quite a few currencies, market conventions, customised terms, formats for the trade representation, etc.
But to offer this commercially, you will need to support quite a few currencies, market conventions, customised terms, formats for the trade representation, etc.