From b54823a9e668f3dd2515fe4bbfca7cf4f791cb38 Mon Sep 17 00:00:00 2001 From: arodus <18667020+arodus@users.noreply.github.com> Date: Fri, 24 Nov 2023 20:45:09 +0100 Subject: [PATCH] Cleanup --- .../BybitInverseFuturesBrokerageHistoryProviderTests.cs | 4 +--- QuantConnect.BybitBrokerage/Models/Enums/PositionMode.cs | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/QuantConnect.BybitBrokerage.Tests/BybitInverseFuturesBrokerageHistoryProviderTests.cs b/QuantConnect.BybitBrokerage.Tests/BybitInverseFuturesBrokerageHistoryProviderTests.cs index c2b7f50..31f8523 100644 --- a/QuantConnect.BybitBrokerage.Tests/BybitInverseFuturesBrokerageHistoryProviderTests.cs +++ b/QuantConnect.BybitBrokerage.Tests/BybitInverseFuturesBrokerageHistoryProviderTests.cs @@ -23,7 +23,6 @@ public class BybitInverseFuturesBrokerageHistoryProviderTests : BybitBrokerageHi { private static readonly Symbol ETHUSD = Symbol.Create("ETHUSDT", SecurityType.CryptoFuture, Market.Bybit); - private static TestCaseData[] ValidHistory { get @@ -39,8 +38,7 @@ private static TestCaseData[] ValidHistory }; } } - - + [Test, TestCaseSource(nameof(ValidHistory))] public override void GetsHistory(Symbol symbol, Resolution resolution, TimeSpan period, TickType tickType) { diff --git a/QuantConnect.BybitBrokerage/Models/Enums/PositionMode.cs b/QuantConnect.BybitBrokerage/Models/Enums/PositionMode.cs index 04d9973..4cacb3d 100644 --- a/QuantConnect.BybitBrokerage/Models/Enums/PositionMode.cs +++ b/QuantConnect.BybitBrokerage/Models/Enums/PositionMode.cs @@ -11,9 +11,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -using System.Runtime.Serialization; +*/ namespace QuantConnect.BybitBrokerage.Models.Enums; @@ -26,6 +24,7 @@ public enum PositionMode /// One way mode /// MergedSingle = 0, + /// /// Hedge mode ///