Skip to content

Commit

Permalink
Updated CryptoExchange.Net version, added Type property to OKXExchang…
Browse files Browse the repository at this point in the history
…e class
  • Loading branch information
JKorf committed Jan 7, 2025
1 parent 7a67cff commit c86dccd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OKX.Net/OKX.Net.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<LangVersion>latest</LangVersion>
Expand Down Expand Up @@ -49,7 +49,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="CryptoExchange.Net" Version="8.5.0" />
<PackageReference Include="CryptoExchange.Net" Version="8.6.0" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
5 changes: 5 additions & 0 deletions OKX.Net/OKX.Net.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions OKX.Net/OKXExchange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ public static class OKXExchange
"https://www.okx.com/docs-v5/en/"
};

/// <summary>
/// Type of exchange
/// </summary>
public static ExchangeType Type { get; } = ExchangeType.CEX;

internal const string ClientOrderId = "1425d83a94fbBCDE";
internal const string ClientOrderIdPrefix = ClientOrderId + LibraryHelpers.ClientOrderIdSeperator;

Expand Down

0 comments on commit c86dccd

Please sign in to comment.