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 ///