QuantConnect / Lean.Brokerages.ByBit

ByBit Brokerage Integration to LEAN
4 stars 5 forks source link

Fix tests and small refactoring to avoid duplicate code #5

Closed arodus closed 8 months ago

arodus commented 8 months ago

Description

Not all tests were running properly, this PR fixes the issue and refactors the tests so less duplicated code is being used. The classes could be renamed as the different brokerages are not existing anymore but they're still testing the different categories and I didn't have a better idea for a name.

Related Issue

Part of https://github.com/QuantConnect/Lean/issues/5898

Motivation and Context

Failing tests

Requires Documentation Change

How Has This Been Tested?

Running the tests image

Types of changes

Checklist: