phil8192 / ob-analytics

R package intended for visualisation, analysis and reconstruction of limit order book data
Other
147 stars 45 forks source link

Correct price labels for cheap (less than $1) curriencies #30

Closed petr-fedorov closed 5 years ago

petr-fedorov commented 5 years ago

If the price of the currency to be visualized is below $1, its price is not shown (rounded to zero) as below:

before

The patch fixes that:

after

codecov-io commented 5 years ago

Codecov Report

Merging #30 into master will decrease coverage by 0.08%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
- Coverage   11.91%   11.83%   -0.09%     
==========================================
  Files          10       10              
  Lines         730      735       +5     
==========================================
  Hits           87       87              
- Misses        643      648       +5
Impacted Files Coverage Δ
R/visualisation.R 0% <0%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1f85813...46f63d3. Read the comment docs.

phil8192 commented 5 years ago

thanks Petr!