A more complete example is the .NET Portfolio Demo Adapters, under
DOCS-SDKs\sdk_adapter_dotnet\examples\Remote_Portfolio_ Adapters
in the distribution package.
There, the client-originated messages are used to simulate buy/sell operations.