SPARK-2438: spreader_lean_qty_factor test setup
This commit is contained in:
1 parent
a07bc152d1
commit
eb97fd045a
1 file changed
+10
@@ -122,6 +122,16 @@ namespace bts.tests
|
||||
|
||||
[Test(Timeout = 30)]
|
||||
public async Task spreader_lean_qty_factor() {
|
||||
Assert.IsTrue(await TestUtils.test_for_system_ready(_context, TimeSpan.FromMinutes(5)), "System is not ready");
|
||||
|
||||
string test_symbol = "SI";// don't use ES, the prices will be rounded to the same number and the result will be off
|
||||
var test_user = (name: "bts", id: 1u);
|
||||
var test_account = (name: "ACC A", id: 1u);
|
||||
|
||||
(SecurityImmutable s1, SecurityImmutable s2) test_securities = await SpreaderUtilities.get_securities_for_common_setup_one(_md_relay, test_symbol);
|
||||
|
||||
var setup_product = await SpreaderUtilities.common_setup_one(_order_service, _synthetic_service, test_securities, test_account, test_user);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user