diff --git a/OKX.Api.Examples/Program.cs b/OKX.Api.Examples/Program.cs
index 85216c2e..e05953b0 100644
--- a/OKX.Api.Examples/Program.cs
+++ b/OKX.Api.Examples/Program.cs
@@ -455,7 +455,7 @@ static async Task Main(string[] args)
#region WebSocket Api Client Examples
// OKX Socket Client
- var ws = new OKXWebSocketApiClient();
+ var ws = new OkxWebSocketApiClient();
ws.SetApiCredentials("XXXXXXXX-API-KEY-XXXXXXXX", "XXXXXXXX-API-SECRET-XXXXXXXX", "XXXXXXXX-API-PASSPHRASE-XXXXXXXX");
// Subscription
diff --git a/OKX.Api/Account/Clients/OkxAccountSocketClient.cs b/OKX.Api/Account/Clients/OkxAccountSocketClient.cs
index a4a0a9d9..a30c28f4 100644
--- a/OKX.Api/Account/Clients/OkxAccountSocketClient.cs
+++ b/OKX.Api/Account/Clients/OkxAccountSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Trading Account Client
///
-public class OkxAccountSocketClient(OKXWebSocketApiClient root)
+public class OkxAccountSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
///
/// Retrieve account information. Data will be pushed when triggered by events such as placing/canceling order, and will also be pushed in regular interval according to subscription granularity.
diff --git a/OKX.Api/Algo/Clients/OkxAlgoSocketClient.cs b/OKX.Api/Algo/Clients/OkxAlgoSocketClient.cs
index ba1da723..8882cdbd 100644
--- a/OKX.Api/Algo/Clients/OkxAlgoSocketClient.cs
+++ b/OKX.Api/Algo/Clients/OkxAlgoSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Algo Trading Client
///
-public class OkxAlgoSocketClient(OKXWebSocketApiClient root)
+public class OkxAlgoSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
///
/// Retrieve algo orders (includes trigger order, oco order, conditional order). Data will not be pushed when first subscribed. Data will only be pushed when triggered by events such as placing/canceling order.
diff --git a/OKX.Api/Block/Clients/OkxBlockSocketClient.cs b/OKX.Api/Block/Clients/OkxBlockSocketClient.cs
index 4c7cfe18..5196925a 100644
--- a/OKX.Api/Block/Clients/OkxBlockSocketClient.cs
+++ b/OKX.Api/Block/Clients/OkxBlockSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Block Trading Client
///
-public class OkxBlockSocketClient(OKXWebSocketApiClient root)
+public class OkxBlockSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
// TODO: Rfqs channel
// TODO: Quotes channel
diff --git a/OKX.Api/CopyTrading/Clients/OkxCopyTradingSocketClient.cs b/OKX.Api/CopyTrading/Clients/OkxCopyTradingSocketClient.cs
index ad882d20..aa978ff8 100644
--- a/OKX.Api/CopyTrading/Clients/OkxCopyTradingSocketClient.cs
+++ b/OKX.Api/CopyTrading/Clients/OkxCopyTradingSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Copy Trading Client
///
-public class OkxCopyTradingSocketClient(OKXWebSocketApiClient root)
+public class OkxCopyTradingSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
// WS / Copy trading notification channel
// WS / Lead trading notification channel
diff --git a/OKX.Api/Funding/Clients/OKXFundingSocketClient.cs b/OKX.Api/Funding/Clients/OKXFundingSocketClient.cs
index 4f2272cc..c8de0632 100644
--- a/OKX.Api/Funding/Clients/OKXFundingSocketClient.cs
+++ b/OKX.Api/Funding/Clients/OKXFundingSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Funding Account Client
///
-public class OkxFundingSocketClient(OKXWebSocketApiClient root)
+public class OkxFundingSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
// TODO: Deposit info channel
// TODO: Withdrawal info channel
diff --git a/OKX.Api/Grid/Clients/OkxGridSocketClient.cs b/OKX.Api/Grid/Clients/OkxGridSocketClient.cs
index 3a061fb8..9ebc0492 100644
--- a/OKX.Api/Grid/Clients/OkxGridSocketClient.cs
+++ b/OKX.Api/Grid/Clients/OkxGridSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Grid Trading Client
///
-public class OkxGridSocketClient(OKXWebSocketApiClient root)
+public class OkxGridSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
// TODO: WS / Spot grid algo orders channel
// TODO: WS / Contract grid algo orders channel
diff --git a/OKX.Api/OKXWebSocketApiClients.cs b/OKX.Api/OkxWebSocketApiClient.cs
similarity index 93%
rename from OKX.Api/OKXWebSocketApiClients.cs
rename to OKX.Api/OkxWebSocketApiClient.cs
index 3f5f8e27..0fa2bea2 100644
--- a/OKX.Api/OKXWebSocketApiClients.cs
+++ b/OKX.Api/OkxWebSocketApiClient.cs
@@ -3,7 +3,7 @@
///
/// OKX WebSocket Client
///
-public class OKXWebSocketApiClient : OkxBaseSocketClient
+public class OkxWebSocketApiClient : OkxBaseSocketClient
{
///
/// Trading Account Client
@@ -58,7 +58,7 @@ public class OKXWebSocketApiClient : OkxBaseSocketClient
///
/// OKXWebSocketApiClient Constructor
///
- public OKXWebSocketApiClient() : this(null, new OkxWebSocketApiOptions())
+ public OkxWebSocketApiClient() : this(null, new OkxWebSocketApiOptions())
{
}
@@ -66,7 +66,7 @@ public class OKXWebSocketApiClient : OkxBaseSocketClient
/// OKXWebSocketApiClient Constructor
///
///
- public OKXWebSocketApiClient(OkxWebSocketApiOptions options) : this(null, options)
+ public OkxWebSocketApiClient(OkxWebSocketApiOptions options) : this(null, options)
{
}
@@ -75,7 +75,7 @@ public OKXWebSocketApiClient(OkxWebSocketApiOptions options) : this(null, option
///
/// Logger
/// Options
- public OKXWebSocketApiClient(ILogger? logger, OkxWebSocketApiOptions options) : base(logger, options)
+ public OkxWebSocketApiClient(ILogger? logger, OkxWebSocketApiOptions options) : base(logger, options)
{
this.Public = new OkxPublicSocketClient(this);
this.Account = new OkxAccountSocketClient(this);
diff --git a/OKX.Api/Public/Clients/OkxPublicSocketClient.cs b/OKX.Api/Public/Clients/OkxPublicSocketClient.cs
index ba9ceb6e..3039d32d 100644
--- a/OKX.Api/Public/Clients/OkxPublicSocketClient.cs
+++ b/OKX.Api/Public/Clients/OkxPublicSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Public Market Data Client
///
-public class OkxPublicSocketClient(OKXWebSocketApiClient root)
+public class OkxPublicSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
#region Market Data
diff --git a/OKX.Api/RecurringBuy/Clients/OkxRecurringBuySocketClient.cs b/OKX.Api/RecurringBuy/Clients/OkxRecurringBuySocketClient.cs
index f2b0fe76..26ef52a1 100644
--- a/OKX.Api/RecurringBuy/Clients/OkxRecurringBuySocketClient.cs
+++ b/OKX.Api/RecurringBuy/Clients/OkxRecurringBuySocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api RecurringBuy Client
///
-public class OkxRecurringBuySocketClient(OKXWebSocketApiClient root)
+public class OkxRecurringBuySocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
internal OkxWebSocketApiOptions Options { get { return _.Options; } }
///
diff --git a/OKX.Api/Spread/Clients/OkxSpreadSocketClient.cs b/OKX.Api/Spread/Clients/OkxSpreadSocketClient.cs
index 4480f311..5828db94 100644
--- a/OKX.Api/Spread/Clients/OkxSpreadSocketClient.cs
+++ b/OKX.Api/Spread/Clients/OkxSpreadSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Spread Trading Client
///
-public class OkxSpreadSocketClient(OKXWebSocketApiClient root)
+public class OkxSpreadSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
// TODO: WS / Place order
// TODO: WS / Amend order
diff --git a/OKX.Api/Trade/Clients/OkxTradeSocketClient.cs b/OKX.Api/Trade/Clients/OkxTradeSocketClient.cs
index 7be94386..2c9a5722 100644
--- a/OKX.Api/Trade/Clients/OkxTradeSocketClient.cs
+++ b/OKX.Api/Trade/Clients/OkxTradeSocketClient.cs
@@ -3,10 +3,10 @@
///
/// OKX WebSocket Api Trade Client
///
-public class OkxTradeSocketClient(OKXWebSocketApiClient root)
+public class OkxTradeSocketClient(OkxWebSocketApiClient root)
{
// Internal
- internal OKXWebSocketApiClient _ { get; } = root;
+ internal OkxWebSocketApiClient _ { get; } = root;
internal OkxWebSocketApiOptions Options { get { return _.Options; } }
///