From 6cb1ce0df8f24219b11ba1f86c48b62ab8d83da2 Mon Sep 17 00:00:00 2001 From: Jiri Kostiha Date: Tue, 15 Oct 2024 12:31:51 +0200 Subject: [PATCH] product version set to 2.5.19 --- readme.md | 47 ++++++++++++--------- src/SyncAPIConnector/SyncAPIConnect.csproj | 2 +- src/SystemTests/Xtb.XApi.SystemTests.csproj | 2 +- 3 files changed, 30 insertions(+), 21 deletions(-) diff --git a/readme.md b/readme.md index ca42ca8..4cd7f35 100644 --- a/readme.md +++ b/readme.md @@ -14,8 +14,36 @@ This project is fork of [.Net xApi wrapper](http://developers.xstore.pro/api/wra It is based on xApi version 2.5.0. In the beginning there were mostly additive changes with some necessary exceptions and now there are many improvements and changes in original code. + +## Setup + +Add [nuget package](https://www.nuget.org/packages/SyncAPIConnect) to the project. +```xml + + + net8 + + + + + +``` + +## Usage + +```csharp +var client = XApiClient.Create("81.2.190.163", 5112, 5113); +await client.ConnectAsync(); +await client.LoginAsync(new Credentials("login", "password")); +var openTrades = await client.GetTradesAsync(true); +``` + +For usage see [example code](./src/SystemTests/Program.cs ), [official page](http://developers.xstore.pro/) and [api documentation](http://developers.xstore.pro/documentation/) + + ## Changelog +2.5.19 various refactoring, minor fixes and changes, unit tests 2.5.18 XApiClient as main api providing class 2.5.17 time arguments instead of long, reduced memory footprint (long->int) 2.5.16 async cancelation, time members, various small changes @@ -35,25 +63,6 @@ In the beginning there were mostly additive changes with some necessary exceptio 2.5.2 new csproj format, set netstandard2.0 2.5.1 cleaned linked binaries and set nuget dependencies -## Setup - -Add [nuget package](https://www.nuget.org/packages/SyncAPIConnect) to the project. -For example like this: -```xml - - - net8 - - - - - -``` - -## Usage - -For usage see [example code](./src/SystemTests/Program.cs ), [official page](http://developers.xstore.pro/) and [official documentation](http://developers.xstore.pro/documentation/) - ## License diff --git a/src/SyncAPIConnector/SyncAPIConnect.csproj b/src/SyncAPIConnector/SyncAPIConnect.csproj index 254b1de..4bdec94 100644 --- a/src/SyncAPIConnector/SyncAPIConnect.csproj +++ b/src/SyncAPIConnector/SyncAPIConnect.csproj @@ -21,7 +21,7 @@ https://github.com/jirikostiha/xtb-xApi MIT False - 2.5.18 + 2.5.19 Jiri Kostiha package_icon.png diff --git a/src/SystemTests/Xtb.XApi.SystemTests.csproj b/src/SystemTests/Xtb.XApi.SystemTests.csproj index 10cb73b..d07a78b 100644 --- a/src/SystemTests/Xtb.XApi.SystemTests.csproj +++ b/src/SystemTests/Xtb.XApi.SystemTests.csproj @@ -7,7 +7,7 @@ latest-recommended Exe false - 2.5.18 + 2.5.19