• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisione41d2ec3c831b6de27a3c7e28f40ea7a87815332 (tree)
Zeit2024-12-16 21:16:21
AutorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

I again modified some paths.

Ändern Zusammenfassung

Diff

diff -r 47bbc49c5bf2 -r e41d2ec3c831 R-codes/status_portfolio.R
--- a/R-codes/status_portfolio.R Mon Dec 16 13:15:12 2024 +0100
+++ b/R-codes/status_portfolio.R Mon Dec 16 13:16:21 2024 +0100
@@ -17,7 +17,7 @@
1717
1818
1919 ### flexible products giving earnings
20-fname <- "flexible_position.json"
20+fname <- "../input/flexible_position.json"
2121
2222
2323 flexible_pos <- fromJSON(fname)
@@ -31,7 +31,7 @@
3131
3232
3333
34-fname <- "locked_products.json"
34+fname <- "../input/locked_products.json"
3535
3636
3737
@@ -59,7 +59,7 @@
5959
6060 }
6161
62-fname <- "locked_products2.json"
62+fname <- "../input/locked_products2.json"
6363
6464
6565 locked_pos2 <- fromJSON(fname)
@@ -102,7 +102,7 @@
102102
103103 ##spot
104104
105-fname <- "spot_balance_improved.json"
105+fname <- "../input/spot_balance_improved.json"
106106
107107
108108 spot <- fromJSON(fname)
@@ -144,7 +144,7 @@
144144
145145 if (save_portfolio_composition==1){
146146
147-fname <- paste("./history_usdt/portfolio_detailed_", df_global_usdt$timestamp[1], ".csv",
147+fname <- paste("../input/flat_files/portfolio_detailed_", df_global_usdt$timestamp[1], ".csv",
148148 sep="")
149149
150150
@@ -162,7 +162,7 @@
162162
163163
164164
165-save_excel(df_stat1_usdt, "portfolio_summary.xlsx")
165+save_excel(df_stat1_usdt, "../input/portfolio_summary.xlsx")
166166
167167 }
168168