Skip to content

jirikostiha/xtb-xApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SyncAPIConnect - Xtb xApi client

GitHub repo size GitHub code size Nuget
Build Code Lint

This project is fork of .Net xApi wrapper with some improvements to make life easier.
The changes made are mostly additive except for a few necessary exceptions. It is based on xApi version 2.5.0.

Changelog

2.5.8 async methods
2.5.7 time conversion to DateTimeOffset, time interval check, long short position extension
2.5.6 records changed from classes to C# records
2.5.5 common interfaces for streaming and non-streaming records, code constants
2.5.4 codes to friendly string extensions
2.5.3 timeout handling, trading examples
2.5.2 new csproj format, set netstandard2.0
2.5.1 cleaned linked binaries and set nuget dependencies

Setup

Add nuget package to the project.
For example like this:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net8</TargetFramework>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="SyncAPIConnect" Version="2.5.X" />
  </ItemGroup>
</Project>

Usage

For usage see example code, official page and official documentation