资 源 简 介
Domain specific Java API for submitting trade signals to Collective2. Ensures URLs are built with all the required parameters and provides an abstraction layer to simulate signal entry for off-line testing.
URLs produced by this API will conform to the documentation below. If you find any issues please report them so the unit tests can be expanded to cover the new features.
Collective2 Signal Entry API
Features
Validates URL construction
Parameters are checked to ensure they belong to the requested command.
Commands are checked to ensure they contain the required parameters.
Parameters are checked to ensure they are not in conflict with each other.
Strong type checking is applied to parameter values.
Helper methods are added for easy parsing of the returned XML.
isOK() is on most responses (others might use getInteger