Spotware releases new version of its .NET package for Open API
Spotware Systems, the company behind the cTrader platform, has released a new version (1.4.2) of its .NET package for Open API, with the major improvements in this version related to memory usage.
Changes:
- Now the API does not allocate a new array for each incoming data, which means less memory usage and less pressure on GC.
- Spotware used Span to reverse the length of message instead of array, it will avoid the extra array allocation.
- Now there is one data length array that the API reuses for all incoming messages, instead of creating new ones for each message, this will avoid lots of unnecessary allocations.
- OpenAPI.NET 1.4 now targets .NET 6, older versions were based on .NET standard 2.1.
If you are using OpenAPI.NET, Spotware strongly recommends you to update to the latest available version (1.4.2).
OpenAPI.NET is a production ready package in case you want to use it on your .NET apps. It powers the popular cMAM software which and lots of other Open API .NET third-party apps.
From version 1.4 Spotware changed the Nuget package name from Spotware.OpenAPI.Net to cTrader.OpenAPI.Net.
The Spotware team regularly updates and enhances its API solutions. Earlier in March, Spotware announced the release of a collection of examples demonstrating how to use Python with cTrader FIX API. Now it has become much easier to use the FIX API with one of the most popular programming languages. The examples include a console application, a web application and a Jupyter Notebook.