UBC-MDS / software-review-2022

0 stars 0 forks source link

Submission group 17: Rstockwatch (R) #43

Open sy25wang opened 2 years ago

sy25wang commented 2 years ago

Submitting Author Name:
Affrin Sultana @Affrin101, Pavel Levchenko @plevchen, Helin Wang @helingogo, Shi Yan Wang @sy25wang

Package Name: Rstockwatch One-Line Description of Package: Simple interface for checking stock price and volume change Repository: https://github.com/UBC-MDS/Rstockwatch Version submitted: v2.0.0

Submission type: Standard

Editor: @Affrin101, @plevchen, @helingogo, @sy25wang Reviewers: @PANDASANG1231, @vtaskaev1, @hjw0703, @Rowansiv

Archive: TBD Version accepted: TBD Language: en

Scope

Technical checks

Confirm each of the following by checking the box.

This package:

Publication options

MEE Options - [ ] The package is novel and will be of interest to the broad readership of the journal. - [ ] The manuscript describing the package is no longer than 3000 words. - [ ] You intend to archive the code for the package in a long-term repository which meets the requirements of the journal (see [MEE's Policy on Publishing Code](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/journal-resources/policy-on-publishing-code.html)) - (*Scope: Do consider MEE's [Aims and Scope](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/aims-and-scope/read-full-aims-and-scope.html) for your manuscript. We make no guarantee that your manuscript will be within MEE scope.*) - (*Although not required, we strongly recommend having a full manuscript prepared when you submit here.*) - (*Please do not submit your package separately to Methods in Ecology and Evolution*)

Code of conduct

vtaskaev1 commented 2 years ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Functionality

Estimated hours spent reviewing: 1.5 hours


Review Comments

Well done, Group 17, on an interesting and concise package! As you stated, its simplicity makes it relevant for an audience looking to perform quick computation and analysis based on stocks they may be tracking. Below are some recommendations and suggestions that point to possible minor improvements that could facilitate its usage and interpretability:

  1. The README is clear in that it provides a clear summary of the package's purpose and scope. However, the Usage and Example section does not appear to display the expected corresponding sample output. I see that png plots are already attached in the root of the repo, so it's likely only matter of a linking them to the README. This will help the audience quickly get a sense of the expected output from each function.
  2. The tests created for the functions are comprehensive in that they cover classical edge cases. It may also be useful to add tests that would flag any outlier values generated from their underlying computation (e.g., a percentage change above realistic thresholds that may possible indicate issues pertaining to the raw data).
  3. The test file documentation could be made more consistent in its use of comments. For instance, a short summary comment block could help quickly grasp the general purpose of each test, while remaining comment format could be made to follow the same convention across all functions.
  4. The volume_viz plot is a useful concept, but its output is a little difficult to make sense of at first glance. One suggestion could be to use a line plot instead of a bar plot for ease of interpretation of any trends.
  5. Finally, it may be useful to also add a test to raise an error should the user happen to input an invalid ticker string, allowing for quick and easy debugging.
Rowansiv commented 2 years ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Readme requirements The package meets the readme requirements below:

The README should include, from top to bottom:

Usability

Reviewers are encouraged to submit suggestions (or pull requests) that will improve the usability of the package as a whole. Package structure should follow general community best-practices. In general please consider:

Functionality

For packages co-submitting to JOSS

Note: Be sure to check this carefully, as JOSS's submission requirements and scope differ from pyOpenSci's in terms of what types of packages are accepted.

The package contains a paper.md matching JOSS's requirements with:

Final approval (post-review)

Estimated hours spent reviewing: 1 hour


Review Comments

  1. The profit visualisation graph is well executed but can be difficult to read as it is quite small. It could be useful to think about making it interactive for a better user experience.
  2. Similarly, the volume visualisation graph is quite hard to use as each bar blends into each other. I would suggest having borders around each bar to separate them so each one can be identified on its own.
  3. The scale that is used on the volume visualisation graph leaves something to be desired. As someone with no background in computing may use this package, having the scale use numbers such as 1.0e+08 will not mean much to them. I would suggest changing the scale and in the axis title have a scaler such as (000's).
  4. When messing around with the inputs and using a future year e.g. 2026, the error returned is not helpful in understanding what is wrong unlike when changing the month to a value greater than 12 where it tells me that it is an invalid start date. Potentially do the same when the year value is greater than the current year.
  5. Well done on the vignettes. The site looks very clean and easy to read and provides all necessary information for using and installing the package.
hjw0703 commented 2 years ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Functionality

Estimated hours spent reviewing: 0.5 hour


Review Comments

Guys, I really like your R package as I would identify myself as one of your potential users. There are some things you might take into consideration in the future:

  1. The test coverage could be improved as it has only 89 percent coverage until now.
  2. For the first plot in readme, I would suggest use direct labels to help users capture the legend more easily.
  3. The second plot size in readme.md file could be adjusted(the histogram are too big and occupy a lot of space) to make them more clear and attractive to users.
  4. If you could dive deeper into giving a certain probability as whether the stock price would increase in the short term based on some models would make the package more attractive.
  5. I expect to see the output for each functions in readme file but some of them are not shown, it would be more clear to users if all the output are displayed.
PANDASANG1231 commented 2 years ago

Package Review

Please check off boxes as applicable, and elaborate in comments below. Your review is not limited to these topics, as described in the reviewer guide

Documentation

The package includes all the following forms of documentation:

Functionality

Estimated hours spent reviewing: 1 hour


Review Comments

  1. The Whole project is very easy to use, and it is valueable for a finance professional to use. Well done!
  2. One suggestion is that, for a financial user such as quant researcher, it will be better if the package can show all the open, high, low, close in the visualization
  3. vol_viz works just the way financial institution visualize volume data. It is quite clear and professional, well done. But compared to python package the plot in doc seems to be more loose, is there any reasons?
  4. For the volume's visualization, a clear title will even make your work better.
  5. There are two functions' result is not shown in the readme. I understand those two are auxiliary functions, but it will be better if you show the dataframe anyway.

Anyway, it is a fantastic project considering there are only four functions here. Really nice work guys.