Class SmartOrderRouter
java.lang.Object
com.quantfinlib.execution.SmartOrderRouter
Smart Order Router: splits a marketable order across venues to minimize
the all-in (fee-adjusted) execution price, respecting each venue's
displayed/estimated size. Dark venues price at their midpoint; with
preferDark they are swept first regardless of ranking (to minimize
information leakage), otherwise every venue competes purely on all-in price.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne child order of the routing plan.static final record -
Method Summary
Modifier and TypeMethodDescriptionstatic SmartOrderRouter.RoutingPlanroute(Side side, long quantity, List<VenueQuote> venues, boolean preferDark)
-
Method Details
-
route
public static SmartOrderRouter.RoutingPlan route(Side side, long quantity, List<VenueQuote> venues, boolean preferDark)
-