diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index 1d5b7d9..ea095ba 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -43,4 +43,4 @@ jobs: run: dotnet build /p:Configuration=Release /v:quiet /p:WarningLevel=1 QuantConnect.CoinbaseBrokerage.sln - name: Run Tests - run: dotnet test ./QuantConnect.CoinbaseBrokerage.Tests/bin/Release/QuantConnect.CoinbaseBrokerage.Tests.dll + run: dotnet test ./QuantConnect.CoinbaseBrokerage.Tests/bin/Release/QuantConnect.Brokerages.Coinbase.Tests.dll diff --git a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseApiTests.cs b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseApiTests.cs index 02112f4..a62a821 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseApiTests.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseApiTests.cs @@ -18,14 +18,13 @@ using System.Linq; using NUnit.Framework; using Newtonsoft.Json.Linq; -using QuantConnect.Brokerages; using QuantConnect.Configuration; using System.Collections.Generic; -using QuantConnect.CoinbaseBrokerage.Api; -using QuantConnect.CoinbaseBrokerage.Models.Enums; -using QuantConnect.CoinbaseBrokerage.Models.WebSocket; +using QuantConnect.Brokerages.Coinbase.Api; +using QuantConnect.Brokerages.Coinbase.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.WebSocket; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { [TestFixture] [Explicit("Use tests for more clarification of API")] diff --git a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageAdditionalTests.cs b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageAdditionalTests.cs index bee9b4f..7d32825 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageAdditionalTests.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageAdditionalTests.cs @@ -21,7 +21,7 @@ using QuantConnect.Configuration; using QuantConnect.Lean.Engine.DataFeeds; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { [TestFixture] public class CoinbaseBrokerageAdditionalTests diff --git a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageDataQueueHandlerTests.cs b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageDataQueueHandlerTests.cs index 9cca8d8..8458801 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageDataQueueHandlerTests.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageDataQueueHandlerTests.cs @@ -24,7 +24,7 @@ using System.Collections.Generic; using QuantConnect.Tests; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { /// /// The class contains DataQueueHandler's tests diff --git a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageFactoryTests.cs b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageFactoryTests.cs index 27ba4a3..2b66461 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageFactoryTests.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageFactoryTests.cs @@ -17,7 +17,7 @@ using QuantConnect.Util; using QuantConnect.Interfaces; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { [TestFixture] public class CoinbaseBrokerageFactoryTests diff --git a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageHistoryProviderTests.cs b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageHistoryProviderTests.cs index 48bf68e..3844154 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageHistoryProviderTests.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageHistoryProviderTests.cs @@ -26,7 +26,7 @@ using QuantConnect.Configuration; using QuantConnect.Lean.Engine.DataFeeds; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { [TestFixture] public class CoinbaseBrokerageHistoryProviderTests diff --git a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageTests.cs b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageTests.cs index cd10be5..ef5da8a 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageTests.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseBrokerageTests.cs @@ -20,15 +20,14 @@ using QuantConnect.Orders; using QuantConnect.Interfaces; using QuantConnect.Securities; -using QuantConnect.Brokerages; using System.Collections.Generic; using QuantConnect.Configuration; using QuantConnect.Tests.Brokerages; -using QuantConnect.CoinbaseBrokerage.Api; +using QuantConnect.Brokerages.Coinbase.Api; using QuantConnect.Lean.Engine.DataFeeds; using QuantConnect.Tests.Common.Securities; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { [TestFixture] public partial class CoinbaseBrokerageTests : BrokerageTests diff --git a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseExchangeInfoDownloaderTests.cs b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseExchangeInfoDownloaderTests.cs index c3cec53..f559596 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseExchangeInfoDownloaderTests.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/CoinbaseExchangeInfoDownloaderTests.cs @@ -19,7 +19,7 @@ using QuantConnect.Util; using QuantConnect.ToolBox; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { [TestFixture] public class CoinbaseExchangeInfoDownloaderTests diff --git a/QuantConnect.CoinbaseBrokerage.Tests/QuantConnect.CoinbaseBrokerage.Tests.csproj b/QuantConnect.CoinbaseBrokerage.Tests/QuantConnect.CoinbaseBrokerage.Tests.csproj index 739c4ee..4acd9fc 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/QuantConnect.CoinbaseBrokerage.Tests.csproj +++ b/QuantConnect.CoinbaseBrokerage.Tests/QuantConnect.CoinbaseBrokerage.Tests.csproj @@ -9,10 +9,10 @@ Copyright © 2021 UnitTest bin\$(Configuration)\ - QuantConnect.CoinbaseBrokerage.Tests - QuantConnect.CoinbaseBrokerage.Tests - QuantConnect.CoinbaseBrokerage.Tests - QuantConnect.CoinbaseBrokerage.Tests + QuantConnect.Brokerages.Coinbase.Tests + QuantConnect.Brokerages.Coinbase.Tests + QuantConnect.Brokerages.Coinbase.Tests + QuantConnect.Brokerages.Coinbase.Tests false diff --git a/QuantConnect.CoinbaseBrokerage.Tests/TestSetup.cs b/QuantConnect.CoinbaseBrokerage.Tests/TestSetup.cs index 309d641..b629398 100644 --- a/QuantConnect.CoinbaseBrokerage.Tests/TestSetup.cs +++ b/QuantConnect.CoinbaseBrokerage.Tests/TestSetup.cs @@ -20,7 +20,7 @@ using QuantConnect.Logging; using QuantConnect.Configuration; -namespace QuantConnect.CoinbaseBrokerage.Tests +namespace QuantConnect.Brokerages.Coinbase.Tests { [TestFixture] public class TestSetup diff --git a/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloader.cs b/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloader.cs index 8deb24d..cabbefb 100644 --- a/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloader.cs +++ b/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloader.cs @@ -15,15 +15,13 @@ using System; using NodaTime; -using System.Linq; using QuantConnect.Data; using QuantConnect.Securities; -using QuantConnect.Brokerages; using QuantConnect.Data.Market; using QuantConnect.Configuration; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage.ToolBox +namespace QuantConnect.Brokerages.Coinbase.ToolBox { /// /// Coinbase Data Downloader class diff --git a/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloaderProgram.cs b/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloaderProgram.cs index 17f3867..998f773 100644 --- a/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloaderProgram.cs +++ b/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseDownloaderProgram.cs @@ -22,7 +22,7 @@ using QuantConnect.ToolBox; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage.ToolBox +namespace QuantConnect.Brokerages.Coinbase.ToolBox { public static class CoinbaseDownloaderProgram { diff --git a/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseExchangeInfoDownloader.cs b/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseExchangeInfoDownloader.cs index df9457a..3174abd 100644 --- a/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseExchangeInfoDownloader.cs +++ b/QuantConnect.CoinbaseBrokerage.ToolBox/CoinbaseExchangeInfoDownloader.cs @@ -16,9 +16,9 @@ using QuantConnect.ToolBox; using System.Collections.Generic; using QuantConnect.Configuration; -using QuantConnect.CoinbaseBrokerage.Api; +using QuantConnect.Brokerages.Coinbase.Api; -namespace QuantConnect.CoinbaseBrokerage.ToolBox +namespace QuantConnect.Brokerages.Coinbase.ToolBox { /// /// Coinbase implementation of diff --git a/QuantConnect.CoinbaseBrokerage.ToolBox/Program.cs b/QuantConnect.CoinbaseBrokerage.ToolBox/Program.cs index 285ca03..ea9c7ea 100644 --- a/QuantConnect.CoinbaseBrokerage.ToolBox/Program.cs +++ b/QuantConnect.CoinbaseBrokerage.ToolBox/Program.cs @@ -17,7 +17,7 @@ using QuantConnect.Configuration; using static QuantConnect.Configuration.ApplicationParser; -namespace QuantConnect.CoinbaseBrokerage.ToolBox +namespace QuantConnect.Brokerages.Coinbase.ToolBox { internal static class Program { diff --git a/QuantConnect.CoinbaseBrokerage.ToolBox/QuantConnect.CoinbaseBrokerage.ToolBox.csproj b/QuantConnect.CoinbaseBrokerage.ToolBox/QuantConnect.CoinbaseBrokerage.ToolBox.csproj index 573315d..592111f 100644 --- a/QuantConnect.CoinbaseBrokerage.ToolBox/QuantConnect.CoinbaseBrokerage.ToolBox.csproj +++ b/QuantConnect.CoinbaseBrokerage.ToolBox/QuantConnect.CoinbaseBrokerage.ToolBox.csproj @@ -7,10 +7,10 @@ net6.0 Copyright © 2021 bin\$(Configuration)\ - QuantConnect.CoinbaseBrokerage.ToolBox - QuantConnect.CoinbaseBrokerage.ToolBox - QuantConnect.CoinbaseBrokerage.ToolBox - QuantConnect.CoinbaseBrokerage.ToolBox + QuantConnect.Brokerages.Coinbase.ToolBox + QuantConnect.Brokerages.Coinbase.ToolBox + QuantConnect.Brokerages.Coinbase.ToolBox + QuantConnect.Brokerages.Coinbase.ToolBox false true false diff --git a/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApi.cs b/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApi.cs index c6f2f8e..0654acd 100644 --- a/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApi.cs +++ b/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApi.cs @@ -20,16 +20,15 @@ using QuantConnect.Util; using QuantConnect.Orders; using System.Globalization; -using QuantConnect.Brokerages; using QuantConnect.Securities; using System.Collections.Generic; -using QuantConnect.CoinbaseBrokerage.Models; -using QuantConnect.CoinbaseBrokerage.Converters; -using QuantConnect.CoinbaseBrokerage.Models.Enums; -using QuantConnect.CoinbaseBrokerage.Models.Requests; -using BrokerageEnums = QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models; +using QuantConnect.Brokerages.Coinbase.Converters; +using QuantConnect.Brokerages.Coinbase.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Requests; +using BrokerageEnums = QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Api; +namespace QuantConnect.Brokerages.Coinbase.Api; public class CoinbaseApi : IDisposable { diff --git a/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApiClient.cs b/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApiClient.cs index 28567e5..7a045e9 100644 --- a/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApiClient.cs +++ b/QuantConnect.CoinbaseBrokerage/Api/CoinbaseApiClient.cs @@ -24,7 +24,7 @@ using System.Collections.Generic; using System.Security.Cryptography; -namespace QuantConnect.CoinbaseBrokerage.Api; +namespace QuantConnect.Brokerages.Coinbase.Api; /// /// Coinbase api client implementation diff --git a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.DataQueueHandler.cs b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.DataQueueHandler.cs index 2793895..6877a44 100644 --- a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.DataQueueHandler.cs +++ b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.DataQueueHandler.cs @@ -21,7 +21,7 @@ using QuantConnect.Configuration; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage +namespace QuantConnect.Brokerages.Coinbase { /// /// An implementation of for Coinbase diff --git a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.HistoryProvider.cs b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.HistoryProvider.cs index b3a11ac..5ec1315 100644 --- a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.HistoryProvider.cs +++ b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.HistoryProvider.cs @@ -16,12 +16,11 @@ using System; using QuantConnect.Data; using QuantConnect.Logging; -using QuantConnect.Brokerages; using QuantConnect.Data.Market; using System.Collections.Generic; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage +namespace QuantConnect.Brokerages.Coinbase { /// /// Coinbase Brokerage - IHistoryProvider implementation diff --git a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Messaging.cs b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Messaging.cs index 44dfc94..86ee28f 100644 --- a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Messaging.cs +++ b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Messaging.cs @@ -23,17 +23,16 @@ using Newtonsoft.Json.Linq; using System.Threading.Tasks; using QuantConnect.Securities; -using QuantConnect.Brokerages; using QuantConnect.Orders.Fees; using QuantConnect.Data.Market; using System.Collections.Generic; using System.Collections.Concurrent; -using QuantConnect.CoinbaseBrokerage.Models; -using QuantConnect.CoinbaseBrokerage.Models.Enums; -using QuantConnect.CoinbaseBrokerage.Models.Constants; -using QuantConnect.CoinbaseBrokerage.Models.WebSocket; +using QuantConnect.Brokerages.Coinbase.Models; +using QuantConnect.Brokerages.Coinbase.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Constants; +using QuantConnect.Brokerages.Coinbase.Models.WebSocket; -namespace QuantConnect.CoinbaseBrokerage +namespace QuantConnect.Brokerages.Coinbase { public partial class CoinbaseBrokerage { diff --git a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Utility.cs b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Utility.cs index f5cfbfb..65f512f 100644 --- a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Utility.cs +++ b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.Utility.cs @@ -13,10 +13,10 @@ * limitations under the License. */ -using QuantConnect.CoinbaseBrokerage.Models; -using BrokerageEnums = QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models; +using BrokerageEnums = QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage +namespace QuantConnect.Brokerages.Coinbase { /// /// Utility methods for Coinbase brokerage diff --git a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.cs b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.cs index 7b1d298..b1e035c 100644 --- a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.cs +++ b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerage.cs @@ -27,18 +27,16 @@ using Newtonsoft.Json.Linq; using QuantConnect.Logging; using QuantConnect.Packets; -using QuantConnect.Brokerages; using QuantConnect.Securities; using QuantConnect.Interfaces; using QuantConnect.Orders.Fees; using System.Collections.Generic; -using QuantConnect.Configuration; using System.Security.Cryptography; using System.Net.NetworkInformation; -using QuantConnect.CoinbaseBrokerage.Api; -using BrokerageEnums = QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Api; +using BrokerageEnums = QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage +namespace QuantConnect.Brokerages.Coinbase { /// /// Represents a partial class for interacting with the Coinbase brokerage using WebSocket communication. diff --git a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerageFactory.cs b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerageFactory.cs index 9531b00..38d5307 100644 --- a/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerageFactory.cs +++ b/QuantConnect.CoinbaseBrokerage/CoinbaseBrokerageFactory.cs @@ -18,11 +18,10 @@ using QuantConnect.Util; using QuantConnect.Interfaces; using QuantConnect.Securities; -using QuantConnect.Brokerages; using QuantConnect.Configuration; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage +namespace QuantConnect.Brokerages.Coinbase { /// /// Factory method to create Coinbase WebSockets brokerage diff --git a/QuantConnect.CoinbaseBrokerage/Converters/CoinbaseDecimalStringConverter.cs b/QuantConnect.CoinbaseBrokerage/Converters/CoinbaseDecimalStringConverter.cs index 42d70b0..f85036f 100644 --- a/QuantConnect.CoinbaseBrokerage/Converters/CoinbaseDecimalStringConverter.cs +++ b/QuantConnect.CoinbaseBrokerage/Converters/CoinbaseDecimalStringConverter.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json; using System.Globalization; -namespace QuantConnect.CoinbaseBrokerage.Converters; +namespace QuantConnect.Brokerages.Coinbase.Converters; public class CoinbaseDecimalStringConverter : JsonConverter { diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseAccount.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseAccount.cs index c557adb..86a3d60 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseAccount.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseAccount.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; /// /// Business data of Coinbase account response diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCancelOrdersResponse.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCancelOrdersResponse.cs index 12a8f3a..c73afa6 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCancelOrdersResponse.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCancelOrdersResponse.cs @@ -16,7 +16,7 @@ using Newtonsoft.Json; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; public readonly struct CoinbaseCancelOrdersResponse { diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCreateOrderResponse.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCreateOrderResponse.cs index 6f282da..d074d87 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCreateOrderResponse.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseCreateOrderResponse.cs @@ -15,9 +15,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; public readonly struct CoinbaseCreateOrderResponse { diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseEditOrderResponse.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseEditOrderResponse.cs index 0d40d4d..95d37a5 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseEditOrderResponse.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseEditOrderResponse.cs @@ -15,7 +15,7 @@ using Newtonsoft.Json; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; public readonly struct CoinbaseEditOrderResponse { diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseMarketTrades.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseMarketTrades.cs index ce57709..a03b7d2 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseMarketTrades.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseMarketTrades.cs @@ -17,9 +17,9 @@ using Newtonsoft.Json; using System.Collections.Generic; using Newtonsoft.Json.Converters; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; public readonly struct CoinbaseMarketTrades { [JsonProperty("trades")] diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseOrder.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseOrder.cs index ed2c5bd..58d2ac3 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseOrder.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseOrder.cs @@ -17,9 +17,9 @@ using Newtonsoft.Json; using System.Collections.Generic; using Newtonsoft.Json.Converters; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; /// /// Business data of Coinbase order response diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProduct.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProduct.cs index ed719b0..7509246 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProduct.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProduct.cs @@ -16,7 +16,7 @@ using Newtonsoft.Json; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; /// /// Business data of Coinbase products response diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProductCandles.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProductCandles.cs index 9cdae83..113245e 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProductCandles.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseProductCandles.cs @@ -18,7 +18,7 @@ using Newtonsoft.Json.Converters; using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; public readonly struct CoinbaseProductCandles { diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseResponse.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseResponse.cs index 0b9adfb..6eb1ce1 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseResponse.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseResponse.cs @@ -15,7 +15,7 @@ using Newtonsoft.Json; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; /// /// Coinbase default http response message diff --git a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseSubscriptionMessage.cs b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseSubscriptionMessage.cs index d4111d3..456e579 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/CoinbaseSubscriptionMessage.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/CoinbaseSubscriptionMessage.cs @@ -15,9 +15,9 @@ using Newtonsoft.Json; using System.Collections.Generic; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models; +namespace QuantConnect.Brokerages.Coinbase.Models; /// /// Represents a message used for subscribing to WebSocket channels on Coinbase. diff --git a/QuantConnect.CoinbaseBrokerage/Models/Constants/CoinbaseWebSocketChannels.cs b/QuantConnect.CoinbaseBrokerage/Models/Constants/CoinbaseWebSocketChannels.cs index aec8c14..c0e5c79 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Constants/CoinbaseWebSocketChannels.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Constants/CoinbaseWebSocketChannels.cs @@ -15,7 +15,7 @@ using System.Collections.Generic; -namespace QuantConnect.CoinbaseBrokerage.Models.Constants; +namespace QuantConnect.Brokerages.Coinbase.Models.Constants; /// /// The Brokerage Coinbase WebSocket feed provides the following channels diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/CandleGranularity.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/CandleGranularity.cs index 8850111..0e9d7b4 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/CandleGranularity.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/CandleGranularity.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; /// /// Represents the granularity of candlestick data for financial charting. diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/CoinbaseLevel2UpdateSide.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/CoinbaseLevel2UpdateSide.cs index cf44634..df3eb43 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/CoinbaseLevel2UpdateSide.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/CoinbaseLevel2UpdateSide.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; [JsonConverter(typeof(StringEnumConverter))] public enum CoinbaseLevel2UpdateSide diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/FailureCreateOrderReason.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/FailureCreateOrderReason.cs index a52bb6e..b07269a 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/FailureCreateOrderReason.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/FailureCreateOrderReason.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; /// /// Failure Create Order Reason diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderSide.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderSide.cs index 2229a2f..6d6825b 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderSide.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderSide.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; /// /// Represents the side of an order, indicating whether it is a buy or sell order. diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderStatus.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderStatus.cs index 5229aee..086eda0 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderStatus.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/OrderStatus.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; /// /// Coinbase available order status diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/StopDirection.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/StopDirection.cs index dd12ebf..979bd62 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/StopDirection.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/StopDirection.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; [JsonConverter(typeof(StringEnumConverter))] diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/TimeInForce.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/TimeInForce.cs index bd98a7e..5c12da6 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/TimeInForce.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/TimeInForce.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; /// /// Time in force policies provide guarantees about the lifetime of an order. diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketEventType.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketEventType.cs index b0ec4cd..67e9f87 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketEventType.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketEventType.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; [JsonConverter(typeof(StringEnumConverter))] public enum WebSocketEventType diff --git a/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketSubscriptionType.cs b/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketSubscriptionType.cs index fe65705..369701e 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketSubscriptionType.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Enums/WebSocketSubscriptionType.cs @@ -17,7 +17,7 @@ using Newtonsoft.Json.Converters; using System.Runtime.Serialization; -namespace QuantConnect.CoinbaseBrokerage.Models.Enums; +namespace QuantConnect.Brokerages.Coinbase.Models.Enums; [JsonConverter(typeof(StringEnumConverter))] public enum WebSocketSubscriptionType diff --git a/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseCreateOrderRequest.cs b/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseCreateOrderRequest.cs index 9d12676..150fb53 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseCreateOrderRequest.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseCreateOrderRequest.cs @@ -16,9 +16,9 @@ using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models.Requests; +namespace QuantConnect.Brokerages.Coinbase.Models.Requests; /// /// Coinbase place order api request diff --git a/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseEditOrderRequest.cs b/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseEditOrderRequest.cs index 7cede4e..2fab022 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseEditOrderRequest.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/Requests/CoinbaseEditOrderRequest.cs @@ -15,7 +15,7 @@ using Newtonsoft.Json; -namespace QuantConnect.CoinbaseBrokerage.Models.Requests; +namespace QuantConnect.Brokerages.Coinbase.Models.Requests; /// /// Coinbase edit order api request diff --git a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseLevel2Event.cs b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseLevel2Event.cs index c270444..6f034c2 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseLevel2Event.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseLevel2Event.cs @@ -13,13 +13,12 @@ * limitations under the License. */ -using System; using Newtonsoft.Json; using System.Collections.Generic; using Newtonsoft.Json.Converters; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models.WebSocket; +namespace QuantConnect.Brokerages.Coinbase.Models.WebSocket; public class CoinbaseLevel2Event : WebSocketEvent { diff --git a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseMarketTradesEvent.cs b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseMarketTradesEvent.cs index 804ee0a..7aa05ab 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseMarketTradesEvent.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseMarketTradesEvent.cs @@ -16,9 +16,9 @@ using System; using Newtonsoft.Json; using System.Collections.Generic; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models.WebSocket; +namespace QuantConnect.Brokerages.Coinbase.Models.WebSocket; public class CoinbaseMarketTradesEvent : WebSocketEvent { diff --git a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseUserEvent.cs b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseUserEvent.cs index bad64e1..c13bd1c 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseUserEvent.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseUserEvent.cs @@ -16,9 +16,9 @@ using System; using Newtonsoft.Json; using System.Collections.Generic; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models.WebSocket; +namespace QuantConnect.Brokerages.Coinbase.Models.WebSocket; public class CoinbaseUserEvent : WebSocketEvent { diff --git a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseWebSocketMessage.cs b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseWebSocketMessage.cs index 2455b6e..0662354 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseWebSocketMessage.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/CoinbaseWebSocketMessage.cs @@ -17,7 +17,7 @@ using System.Collections.Generic; using System; -namespace QuantConnect.CoinbaseBrokerage.Models.WebSocket; +namespace QuantConnect.Brokerages.Coinbase.Models.WebSocket; public class CoinbaseWebSocketMessage where T : WebSocketEvent { diff --git a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/WebSocketEvent.cs b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/WebSocketEvent.cs index 81e39e4..ec83c6d 100644 --- a/QuantConnect.CoinbaseBrokerage/Models/WebSocket/WebSocketEvent.cs +++ b/QuantConnect.CoinbaseBrokerage/Models/WebSocket/WebSocketEvent.cs @@ -15,9 +15,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; -using QuantConnect.CoinbaseBrokerage.Models.Enums; +using QuantConnect.Brokerages.Coinbase.Models.Enums; -namespace QuantConnect.CoinbaseBrokerage.Models.WebSocket; +namespace QuantConnect.Brokerages.Coinbase.Models.WebSocket; public class WebSocketEvent { [JsonProperty("type")] diff --git a/QuantConnect.CoinbaseBrokerage/QuantConnect.CoinbaseBrokerage.csproj b/QuantConnect.CoinbaseBrokerage/QuantConnect.CoinbaseBrokerage.csproj index 3ba379a..501e5f0 100644 --- a/QuantConnect.CoinbaseBrokerage/QuantConnect.CoinbaseBrokerage.csproj +++ b/QuantConnect.CoinbaseBrokerage/QuantConnect.CoinbaseBrokerage.csproj @@ -3,10 +3,10 @@ Release AnyCPU net6.0 - QuantConnect.CoinbaseBrokerage - QuantConnect.CoinbaseBrokerage - QuantConnect.CoinbaseBrokerage - QuantConnect.CoinbaseBrokerage + QuantConnect.Brokerages.Coinbase + QuantConnect.Brokerages.Coinbase + QuantConnect.Brokerages.Coinbase + QuantConnect.Brokerages.Coinbase Library bin\$(Configuration)\ false