adding test skeletons

This commit is contained in:
Taha Afzal committed 2017-11-14 10:04:41 -05:00
1 parent ff363d1398
commit c04bc9db6a
1 file changed
+30
@@ -193,6 +193,36 @@ void _fill_book(Book& book, double inside_market, double tick_size, uint16_t* si
}
}
// QuoteLegPriceQuantityState is used by the quoter
// to keep the state of the order state, ie
// target price, qty
// filled qty
// reduced quantity due to other legs
// output price, qty
void test_QuoteLegPriceQuantityState ()
{
}
// tests spread_qty -> leg_qty and leg_2_qty -> leg_1_qty
void test_leg_quantity_normalization ()
{
}
// given a qty, traverses the book to find the level
// where the accumulated qty >= given qty
void test_book_traversal ()
{
}
// this is how the spreader organizes the data
void test_SpreaderBookkeepingData ()
{
}
// quote price and quantity for a 2 legged spread
void test_quote_price_quantity_2_legged()
{
}
// hedge price and quantity for a 2 legged spread
void test_hedge_price_quantity_2_legged()
{
}
void _test_quoter_price_quantity (const QuoteLegPriceQuantityState& qp_state,
Price target_spread_price,
Quantity target_leg_quantity,