Releases: naicigam/Primary.Net
Releases · naicigam/Primary.Net
Release list
0.13.0 (Beta)
Changes
- Added CFI Code
OCEFXStoIntrument.Type. - Added
StriketoInstrument. - Updated to .Net Core 8.0.
- Removed hardcoded log in
WebSocket. - More robust test cases.
Package
0.12.0 (Beta)
Changes
Instrumentclass: added tick prices ranges.- The default
OrderStatusstatus is nowNotSet. - Added a new order status:
Expired. - Added logging to web sockets.
- Added
Api.GetActiveOrderStatusesmethod to get the active orders for an account. - Updated
Microsoft.Extensions.Logging.Abstractionsfrom8.0.0to8.0.1. - Fix: Non-stardard boolean serialization when serializing orders.
Package
0.11.0-beta
Changes
- Accounts can be retrieved using
Api.GetAccounts(thanks @ChuchoCoder!). - Account positions can be retrieved using
Api.GetAccountPositions(thanks @ChuchoCoder!). - Logout (thanks @paa-listas!).
Instrument: AddedMinimumTradeVolume,MaximumTradeVolume,MinimumTradePriceandMaximumTradePrice.- Cancel orders with web socket using
OrderDataWebSocket.CancelOrder. - Added a new
ILoggerFactoryparameter toApi, so applications can customize how this library logs events. is Websockets will also log events with this factory. The default valueNullLoggerFactory. - Added Websocket.Client as a dependency. It can handle logging and reconnection. Integration with this library is currently basic, but we will leverage more functionality in future releases.
- Breaking:
WebSocket.Startchanged from returningTask<Task>toTask.
Package
0.10.0-beta
Changes
- Account statements can be retrieved using
Api.GetAccountStatement. - New data structure:
AccountStatement. - Added descriptions to some
OrderStatusfields. - Fix:
OrderStatusfields:LastQuantity,CumulativeQuantityandLeavesQuantityandOrder.Quantitynow accept decimal places.
Package
https://www.nuget.org/packages/Primary.Net/0.10.0-beta
Code coverage
| Package | Line Rate | Branch Rate | Complexity | Health |
|---|---|---|---|---|
| Primary | 77% | 45% | 461 | ✔ |
| Summary | 77% (413 / 534) | 45% (143 / 320) | 461 | ✔ |
0.9.0-beta
Changes
- Orders can be updated using
Api.UpdateOrder. New order status:PendingReplace. - Orders can be submitted from the web socket using
OrderDataWebSocket.SubmitOrder. ApidefaultHttpClientnow uses HTTP 2.0 by default.- Fix:
MarketDataWebSocketcan be created usingInstrumentinstances.
Package
https://www.nuget.org/packages/Primary.Net/0.9.0-beta
Stats
| Package | Line Rate | Branch Rate | Complexity | Health |
|---|---|---|---|---|
| Primary | 78% | 46% | 404 | ✔ |
| Summary | 78% (366 / 467) | 46% (135 / 296) | 404 | ✔ |
0.8.0-beta
Changes
- Breaking change: Updated to .NET 6.0, since .NET Core 3.1 is out of support since December 2022.
Instrumentfields: AddedCfiCodeandType.Api.GetAllInstrumentsnow returns CFI code.- Fix:
Api.CancelOrdernow handles errors. - Internal: Moved from AppVeyor to GitHub Actions.
Package
https://www.nuget.org/packages/Primary.Net/0.8.0-beta
| Package | Line Rate | Branch Rate | Complexity | Health |
|---|---|---|---|---|
| Primary | 77% | 47% | 374 | ✔ |
| Summary | 77% (312 / 403) | 47% (127 / 269) | 374 | ✔ |
0.7.0-beta
Changes
- Breaking change: Renamed
InstrumenttoInstrumentId. All methods that acceptedInstrumentas parameter, now useInstrumentId. - Added
Instrumentclass with more information about instruments: description, currency, maturity date and price conversion factor. Api.GetAllInstrumentsnow returns more information about instruments.- Improved web sockets error handling.
- Upgraded
Newtonsoft.Jsonfrom12.0.3to13.0.2and tests package dependencies.
Package
0.6.3 (Alpha)
Changes
- Added a 30-second keep alive to the web sockets.