ApexClearing.SDK 1.0.1

dotnet add package ApexClearing.SDK --version 1.0.1                
NuGet\Install-Package ApexClearing.SDK -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ApexClearing.SDK" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ApexClearing.SDK --version 1.0.1                
#r "nuget: ApexClearing.SDK, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ApexClearing.SDK as a Cake Addin
#addin nuget:?package=ApexClearing.SDK&version=1.0.1

// Install ApexClearing.SDK as a Cake Tool
#tool nuget:?package=ApexClearing.SDK&version=1.0.1                

ApexClearingSDK

.Net client SDK to work with Apex Clearing API.

The resources/functionalities supported are listed on the following table:

<table> <thead> <tr> <th>Resources</th> <th>Endpoints</th> <th>Support</th> </tr> </thead> <tbody> <tr> <td rowspan=4> <a href="https://developer.apexclearing.com/apexclearing/reference/authorization-main" target="_blank">Authorization</a> </td> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/authorization-main#generating-a-jws-from-client-credentials" target="_blank">Generate JWS</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/authorization-main#section-request-a-jwt-access-token" target="_blank">Request JWT</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/authorization-main#verify-a-token" target="_blank">Verify Token</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/authorization-main#logout--invalidate-a-token" target="_blank">Logout / Invalidate Token</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td colspan=2>Events</td> <td>:x:</td> </tr> <tr> <td colspan=2>Accounts</td> <td>:x:</td> </tr> <tr> <td colspan=2>Cash</td> <td>:x:</td> </tr> <tr> <td colspan=2>Portfolios</td> <td>:x:</td> </tr> <tr> <td colspan=2>Trading</td> <td>:x:</td> </tr> <tr> <td rowspan=7> <a href="https://developer.apexclearing.com/apexclearing/reference/orders-main" target="_blank">Orders</a> </td> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/orders-main#initiate-an-order" target="_blank">Initiate an Order</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td>Retrieve Status</td> <td>:heavy_check_mark:</td> </tr> <tr> <td>Retrieve A List of Error Codes</td> <td>:heavy_check_mark:</td> </tr> <tr> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/orders-main#retrieve-a-list-of-active-symbols-v1" target="_blank">Retrieve A List of Active Symbols v1</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/orders-main#retrieve-a-list-of-active-symbols-v2" target="_blank">Retrieve A List of Active Symbols v2</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/orders-main#get-order-details" target="_blank">Get Order Details</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td> <a href="https://developer.apexclearing.com/apexclearing/reference/orders-main#cancel-an-order" target="_blank">Cancel an Order</a> </td> <td>:heavy_check_mark:</td> </tr> <tr> <td colspan=2>Transfers</td> <td>:x:</td> </tr> <tr> <td colspan=2>Lending</td> <td>:x:</td> </tr> <tr> <td colspan=2>Crypto</td> <td>:x:</td> </tr> </tbody> </table>

Samples

Using the following client credentials json file sample provided by Apex CLearing

{
    "username": "apex_api",
    "entity": "correspondent.apx1",
    "sharedSecret": "<secret key>"
}
var clientCredentials = ClientCredentials.BuildFromCredentialsFile("sample_credentials.json");
var client = new ApexAPIClient(clientCredentials);
var status = await _client.Orders.GetStatusAsync();

More examples can be found by consulting the integration tests at https://github.com/motoqueiro/ApexClearingSDK/blob/main/ApexClearing.SDK.IntegrationTests/ApexClearingClientIntegrationTests.cs

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 276 6/26/2022
1.0.0 226 6/26/2022