File size: 1,716 Bytes
72fc0ee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
"""
Execution simulation suite.

Provides:
  - Order book simulation with realistic microstructure
  - Market impact models (Almgren-Chriss, Kyle, JPM, square-root)
  - Execution strategies (VWAP, TWAP, POV)
  - Slippage and execution cost analysis
  - Backtesting framework for strategy evaluation
"""

# SDK Manager interface
from .manager import ExecutionManager

from .order_book import (
    Order,
    Trade,
    OrderBookSnapshot,
    OrderBookSimulator,
)

from .market_impact import (
    ImpactModel,
    MarketImpactResult,
    almgren_chriss_impact,
    kyle_lambda_impact,
    jpm_impact,
    square_root_impact,
    estimate_slippage,
)

from .strategies import (
    ExecutionSchedule,
    ExecutionResult,
    twap_schedule,
    vwap_schedule,
    pov_schedule,
    simulate_execution,
    intraday_volume_profile,
)

from .backtesting import (
    Trade as BacktestTrade,
    Position,
    BacktestResult,
    Strategy,
    BacktestEngine,
    MovingAverageCrossover,
    MeanReversionStrategy,
    MomentumStrategy,
)

__all__ = [
    # Order book
    "Order",
    "Trade",
    "OrderBookSnapshot",
    "OrderBookSimulator",
    # Market impact
    "ImpactModel",
    "MarketImpactResult",
    "almgren_chriss_impact",
    "kyle_lambda_impact",
    "jpm_impact",
    "square_root_impact",
    "estimate_slippage",
    # Strategies
    "ExecutionSchedule",
    "ExecutionResult",
    "twap_schedule",
    "vwap_schedule",
    "pov_schedule",
    "simulate_execution",
    "intraday_volume_profile",
    # Backtesting
    "BacktestTrade",
    "Position",
    "BacktestResult",
    "Strategy",
    "BacktestEngine",
    "MovingAverageCrossover",
    "MeanReversionStrategy",
    "MomentumStrategy",
]