- buy_BTFD: added params

- stock::fetch: support slice by date if loaded from file

git-svn-id: http://moon:8086/svn/projects/Stock@334 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-12-27 14:13:48 +00:00
parent a739314378
commit 8e8b9c2d95
3 changed files with 22 additions and 13 deletions
+1
View File
@@ -16,6 +16,7 @@ from stock import Stock
params = {
'show_range_days' : 5,
'btfd' : {'thresh_max' : -10, 'thresh_min' : 1, 'cand_window' : 5},
'k_euro' : 1 / 1.11,
'ema_alpha' : 0.75,
'sma_days' : 10,