Skip to content

Commit

Permalink
seasonality
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Sep 22, 2023
1 parent b36cb61 commit a4a7730
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions app/demo/src/notebook/studies/seasonality.clj
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ ds-etf-since
;;; This size-mb difference is huge; better check if
;;; both symbols have sufficient daily bars

(import-series :kibot "AFK" "D" :full) ; 3818 bars
(import-series :kibot "AGG" "D" :full) ; 5028 bars
(import-series :kibot {:symbol "AFK" :frequency "D"} :full) ; 3818 bars
(import-series :kibot {:symbol "AGG" :frequency "D"} :full) ; 5028 bars
;;; 5 years of data = 200*5 = 1000.
;;; this explains difference between AFK and AGG

Expand All @@ -43,5 +43,5 @@ ds-etf-since
(import-list :kibot
(:symbol ds-etf-since)
{:frequency "D"
:w :seasonality}
:warehouse :seasonal}
:full)
2 changes: 1 addition & 1 deletion lib/data/src/ta/data/import/append.clj
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

(get-in (tc/last (load-series {:symbol "FMCDX" :frequency "D"})) [:date 0])
(av/get-series {:symbol "FMCDX" :frequency "D"}
{:start 4 :mode :append})
{:start 4 :mode :append}
{})

;
Expand Down

0 comments on commit a4a7730

Please sign in to comment.