-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path__init__.py
44 lines (42 loc) · 993 Bytes
/
__init__.py
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
from .backtest import Backtest
from .results import BacktestResult
from .strategy import Strategy
from .tradeTypes import TradeType, Holding, Transaction, Order
from .utils import (
calculateSMA,
calculateEMA,
calculateRSI,
calculateBollingerBands,
calculateMACD,
calculateDrawdown,
calculateSharpeRatio,
calculateVolatility,
calculateBeta,
calculateReturnStats
)
from .commissions import calculate_commission
from .orders import cancel_order, submit_gtc_order
__version__ = "1.1.5"
__author__ = "Ben Bell"
__all__ = [
"Backtest",
"BacktestResult",
"Strategy",
"TradeType",
"Holding",
"Transaction",
"Order",
"calculateSMA",
"calculateEMA",
"calculateRSI",
"calculateBollingerBands",
"calculateMACD",
"calculateDrawdown",
"calculateSharpeRatio",
"calculateVolatility",
"calculateBeta",
"calculateReturnStats",
"calculate_commission",
"cancel_order",
"submit_gtc_order"
]