• R/O
  • SSH

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修订版5e90a8f3fc471497716e1f5b62f564e1acc1efe0 (tree)
时间2024-02-29 17:01:10
作者Lorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

I now print at the end of the code the total value of my portfolio.

更改概述

差异

diff -r 4f2c57050699 -r 5e90a8f3fc47 R-codes/process_time_portfolios.R
--- a/R-codes/process_time_portfolios.R Wed Feb 28 15:50:03 2024 +0100
+++ b/R-codes/process_time_portfolios.R Thu Feb 29 09:01:10 2024 +0100
@@ -99,14 +99,8 @@
9999 ggsave("./history_usdt/portfolio_features.pdf", gpl, width=12,height=8)
100100
101101
102-
103-
104-
105-
106-
107-
108-print("The final value of the portfolio in USDT is, ")
109-print(df_recent$value_usdt|>sum())
102+total_portfolio_value_usdt <- df_recent$value_usdt|>
103+ sum()
110104
111105 top_recent <- df_recent |>
112106 summarise(asset_value_usdt=sum(value_usdt),
@@ -192,5 +186,10 @@
192186 ggsave("./history_usdt/portfolio_now.pdf", gpl, width=6,height=8)
193187
194188
189+print("The final value of the portfolio in USDT is, ")
190+print(total_portfolio_value_usdt)
191+
192+
193+
195194
196195 print("So far so good")