Spaces:
Running
Running
0.2.7 - removed payout sim
Browse files- Dockerfile +1 -1
- app/app.R +161 -162
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ FROM rocker/r-ver:4.2.3
|
|
4 |
RUN R -q -e "install.packages(c('remotes'))"
|
5 |
|
6 |
# Specific version of Shiny
|
7 |
-
RUN R -q -e "remotes::install_version('shiny', version = '1.
|
8 |
|
9 |
# basic shiny functionality
|
10 |
RUN R -q -e "install.packages(c('rmarkdown', 'markdown'))"
|
|
|
4 |
RUN R -q -e "install.packages(c('remotes'))"
|
5 |
|
6 |
# Specific version of Shiny
|
7 |
+
RUN R -q -e "remotes::install_version('shiny', version = '1.7.3', repos = 'http://cran.us.r-project.org')"
|
8 |
|
9 |
# basic shiny functionality
|
10 |
RUN R -q -e "install.packages(c('rmarkdown', 'markdown'))"
|
app/app.R
CHANGED
@@ -240,7 +240,7 @@ ui <- shinydashboardPlus::dashboardPage(
|
|
240 |
|
241 |
pickerInput(inputId = "model",
|
242 |
label = " ",
|
243 |
-
choices = ls_username,
|
244 |
multiple = TRUE,
|
245 |
width = "100%",
|
246 |
options = list(
|
@@ -249,7 +249,7 @@ ui <- shinydashboardPlus::dashboardPage(
|
|
249 |
size = 20,
|
250 |
`actions-box` = TRUE,
|
251 |
`live-search` = TRUE,
|
252 |
-
`live-search-placeholder` = "For example
|
253 |
`virtual-scroll` = TRUE,
|
254 |
`multiple-separator` = ", ",
|
255 |
`selected-text-format`= "count > 3",
|
@@ -554,52 +554,52 @@ ui <- shinydashboardPlus::dashboardPage(
|
|
554 |
),
|
555 |
|
556 |
|
557 |
-
tabPanel("Payout (Sim)",
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
),
|
603 |
|
604 |
tabPanel("Payout Chart (Rounds)",
|
605 |
|
@@ -626,121 +626,119 @@ ui <- shinydashboardPlus::dashboardPage(
|
|
626 |
shinycssloaders::withSpinner(plotlyOutput("plot_payout_individual")),
|
627 |
|
628 |
br()
|
629 |
-
)
|
630 |
|
631 |
|
632 |
-
tabPanel("KPI (x~y)",
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
)
|
744 |
|
745 |
) # end of tabsetPanel
|
746 |
|
@@ -918,6 +916,7 @@ ui <- shinydashboardPlus::dashboardPage(
|
|
918 |
- #### **0.2.4** — Added `MMC` to `Payout Sim`
|
919 |
- #### **0.2.5** — Added more features related to MMC
|
920 |
- #### **0.2.6** — Added survey results - Ref: https://forum.numer.ai/t/around-the-world-with-numeratis-survey-for-upcoming-events
|
|
|
921 |
"),
|
922 |
|
923 |
br(),
|
@@ -936,7 +935,7 @@ ui <- shinydashboardPlus::dashboardPage(
|
|
936 |
|
937 |
footer = shinydashboardPlus::dashboardFooter(
|
938 |
left = "Powered by ❤️, ☕, Shiny, and 🤗 Spaces",
|
939 |
-
right = paste0("Version 0.2.
|
940 |
|
941 |
)
|
942 |
|
|
|
240 |
|
241 |
pickerInput(inputId = "model",
|
242 |
label = " ",
|
243 |
+
choices = ls_username, # Replace this with your own models if needed
|
244 |
multiple = TRUE,
|
245 |
width = "100%",
|
246 |
options = list(
|
|
|
249 |
size = 20,
|
250 |
`actions-box` = TRUE,
|
251 |
`live-search` = TRUE,
|
252 |
+
`live-search-placeholder` = "For example: V43_LGBM_CYRUS20",
|
253 |
`virtual-scroll` = TRUE,
|
254 |
`multiple-separator` = ", ",
|
255 |
`selected-text-format`= "count > 3",
|
|
|
554 |
),
|
555 |
|
556 |
|
557 |
+
# tabPanel("Payout (Sim)",
|
558 |
+
#
|
559 |
+
# br(),
|
560 |
+
#
|
561 |
+
# h3(strong(textOutput(outputId = "text_payout_sim"))),
|
562 |
+
#
|
563 |
+
# br(),
|
564 |
+
#
|
565 |
+
# # markdown("![new_tc_change](https://i.ibb.co/XjKwtzr/screenshot-2023-10-05-at-10.png)"),
|
566 |
+
# markdown("![new_mmc](https://forum.numer.ai/uploads/default/optimized/2X/0/0b04785bd7167ff261f26325bc926c107398e26a_2_1035x729.jpeg)"),
|
567 |
+
#
|
568 |
+
#
|
569 |
+
# br(),
|
570 |
+
#
|
571 |
+
# markdown("#### **Notes**:
|
572 |
+
#
|
573 |
+
# - **sum_pay**: Sum of Payouts
|
574 |
+
# - **shp_pay**: Sharpe Ratio of Payouts
|
575 |
+
# - **1C3T**: 1xCORRv2 + 3xTC (Original Degen Mode)
|
576 |
+
# - **1C0T**: 1xCORRv2 + 0xTC (Until the End of 2023)
|
577 |
+
# - **2C0T**: 2xCORRv2 + 0xTC (Until the End of 2023)
|
578 |
+
# - **2C1T**: 2xCORRv2 + 1xTC (Until the End of 2023)
|
579 |
+
# - **05C2M**: 0.5xCORRv2 + 2xMMCv2 (**New Payout Mode**)
|
580 |
+
#
|
581 |
+
#
|
582 |
+
# "),
|
583 |
+
#
|
584 |
+
# br(),
|
585 |
+
#
|
586 |
+
# markdown("### **Payout Simulation (Overall)**"),
|
587 |
+
#
|
588 |
+
# DTOutput("dt_payout_sim_overall"),
|
589 |
+
#
|
590 |
+
# br(),
|
591 |
+
#
|
592 |
+
# br(),
|
593 |
+
#
|
594 |
+
# markdown("### **Payout Simulation (Individual Models)**"),
|
595 |
+
#
|
596 |
+
# br(),
|
597 |
+
#
|
598 |
+
# DTOutput("dt_payout_sim_model"),
|
599 |
+
#
|
600 |
+
# br()
|
601 |
+
#
|
602 |
+
# ), # End of Payout Sim
|
603 |
|
604 |
tabPanel("Payout Chart (Rounds)",
|
605 |
|
|
|
626 |
shinycssloaders::withSpinner(plotlyOutput("plot_payout_individual")),
|
627 |
|
628 |
br()
|
629 |
+
)
|
630 |
|
631 |
|
632 |
+
# tabPanel("KPI (x~y)",
|
633 |
+
#
|
634 |
+
# br(),
|
635 |
+
#
|
636 |
+
# markdown("![image](https://media.giphy.com/media/cftSzNoCTfSyAWctcl/giphy.gif)"),
|
637 |
+
#
|
638 |
+
# br(),
|
639 |
+
#
|
640 |
+
# fluidRow(
|
641 |
+
#
|
642 |
+
# column(6,
|
643 |
+
# markdown("#### **X-Axis:**"),
|
644 |
+
# pickerInput(
|
645 |
+
# inputId = "kpi_xy_x",
|
646 |
+
# choices = c("CORRv2: CORRelation with target cyrus_v4_20",
|
647 |
+
# "MMCv2: The Latest and the Greatest MMC",
|
648 |
+
# "TC: True Contribtuion to the hedge fund's returns",
|
649 |
+
# "FNCv3: Feature Neutral Correlation with respect to the FNCv3 features",
|
650 |
+
# "Percentile: MMCv2",
|
651 |
+
# "Percentile: CORRv2",
|
652 |
+
# "Percentile: TC",
|
653 |
+
# "Percentile: FNCv3",
|
654 |
+
# "CWMM: Correlation With the Meta Model",
|
655 |
+
# "MCWNM: Maximum Correlation With Numerai Models staked at least 10 NMR",
|
656 |
+
# "APCWNM: Average Pairwise Correlation With Numerai Models staked at least 10 NMR"),
|
657 |
+
#
|
658 |
+
# multiple = FALSE,
|
659 |
+
# width = "95%")
|
660 |
+
# ),
|
661 |
+
#
|
662 |
+
# column(6,
|
663 |
+
# markdown("#### **Y-Axis:**"),
|
664 |
+
# pickerInput(
|
665 |
+
# inputId = "kpi_xy_y",
|
666 |
+
# choices = c("MMCv2: The Latest and the Greatest MMC",
|
667 |
+
# "CORRv2: CORRelation with target cyrus_v4_20",
|
668 |
+
# "TC: True Contribtuion to the hedge fund's returns",
|
669 |
+
# "FNCv3: Feature Neutral Correlation with respect to the FNCv3 features",
|
670 |
+
# "Percentile: MMCv2",
|
671 |
+
# "Percentile: CORRv2",
|
672 |
+
# "Percentile: TC",
|
673 |
+
# "Percentile: FNCv3",
|
674 |
+
# "CWMM: Correlation With the Meta Model",
|
675 |
+
# "MCWNM: Maximum Correlation With Numerai Models staked at least 10 NMR",
|
676 |
+
# "APCWNM: Average Pairwise Correlation With Numerai Models staked at least 10 NMR"),
|
677 |
+
#
|
678 |
+
# multiple = FALSE,
|
679 |
+
# width = "95%")
|
680 |
+
# ),
|
681 |
+
#
|
682 |
+
# column(2,
|
683 |
+
# markdown("#### **Control 1**"),
|
684 |
+
# switchInput(
|
685 |
+
# inputId = "kpi_xy_ctrl_1",
|
686 |
+
# onLabel = "Yes",
|
687 |
+
# offLabel = "No",
|
688 |
+
# value = TRUE)
|
689 |
+
# ),
|
690 |
+
#
|
691 |
+
# column(2,
|
692 |
+
# markdown("#### **Control 2**"),
|
693 |
+
# switchInput(
|
694 |
+
# inputId = "kpi_xy_ctrl_2",
|
695 |
+
# onLabel = "Yes",
|
696 |
+
# offLabel = "No",
|
697 |
+
# value = FALSE)
|
698 |
+
# ),
|
699 |
+
#
|
700 |
+
# column(2,
|
701 |
+
# markdown("#### **Control 3**"),
|
702 |
+
# switchInput(
|
703 |
+
# inputId = "kpi_xy_ctrl_3",
|
704 |
+
# onLabel = "Yes",
|
705 |
+
# offLabel = "No",
|
706 |
+
# value = FALSE)
|
707 |
+
# ),
|
708 |
+
#
|
709 |
+
# column(2,
|
710 |
+
# markdown("#### **Control 4**"),
|
711 |
+
# switchInput(
|
712 |
+
# inputId = "kpi_xy_ctrl_4",
|
713 |
+
# onLabel = "Yes",
|
714 |
+
# offLabel = "No",
|
715 |
+
# value = FALSE)
|
716 |
+
# ),
|
717 |
+
#
|
718 |
+
# column(2,
|
719 |
+
# markdown("#### **Control 5**"),
|
720 |
+
# switchInput(
|
721 |
+
# inputId = "kpi_xy_ctrl_5",
|
722 |
+
# onLabel = "Yes",
|
723 |
+
# offLabel = "No",
|
724 |
+
# value = FALSE)
|
725 |
+
# ),
|
726 |
+
#
|
727 |
+
# column(2,
|
728 |
+
# markdown("#### **Control 6**"),
|
729 |
+
# switchInput(
|
730 |
+
# inputId = "kpi_xy_ctrl_6",
|
731 |
+
# onLabel = "Yes",
|
732 |
+
# offLabel = "No",
|
733 |
+
# value = FALSE)
|
734 |
+
# )
|
735 |
+
#
|
736 |
+
#
|
737 |
+
# ),
|
738 |
+
#
|
739 |
+
# br()
|
740 |
+
#
|
741 |
+
# ) # end of KPI (x~y)
|
|
|
|
|
742 |
|
743 |
) # end of tabsetPanel
|
744 |
|
|
|
916 |
- #### **0.2.4** — Added `MMC` to `Payout Sim`
|
917 |
- #### **0.2.5** — Added more features related to MMC
|
918 |
- #### **0.2.6** — Added survey results - Ref: https://forum.numer.ai/t/around-the-world-with-numeratis-survey-for-upcoming-events
|
919 |
+
- #### **0.2.7** — Removed `Payout Simulation`
|
920 |
"),
|
921 |
|
922 |
br(),
|
|
|
935 |
|
936 |
footer = shinydashboardPlus::dashboardFooter(
|
937 |
left = "Powered by ❤️, ☕, Shiny, and 🤗 Spaces",
|
938 |
+
right = paste0("Version 0.2.7"))
|
939 |
|
940 |
)
|
941 |
|