Closed arpty closed 6 years ago
Hello everyone. I am trying to use Stockstats to analyze data from Cryptocurrencies which have 8 decimals positions.
The results only use a precision of 6 decimals. Is there a way to configure stockstats to use more decimals?
If I convert the original data to float it reduces the precision to 6.
Imported Data (Pandas): datetime open high low close \ 0 2018-01-22 21:32:00 0.00000632 0.00000633 0.00000631 0.00000632 1 2018-01-22 21:33:00 0.00000631 0.00000632 0.00000631 0.00000631 2 2018-01-22 21:34:00 0.00000631 0.00000632 0.00000631 0.00000632
dtype: object datetime datetime64[ns] open object high object low object close object
Results using Stockstats of Bollinger Bands: close_20_mstd boll boll_ub boll_lb close_13_ema close_34_ema 0 NaN 0.000006 NaN NaN 0.000006 0.000006 1 7.071068e-09 0.000006 0.000006 0.000006 0.000006 0.000006 2 5.773503e-09 0.000006 0.000006 0.000006 0.000006 0.000006 3 5.000000e-09 0.000006 0.000006 0.000006 0.000006 0.000006
close_20_sma float64 close_20_mstd float64 boll float64 boll_ub float64 boll_lb float64 close_13_ema float64 close_34_ema float64
Disregard. Displaying only 6 decimal positions but the values are there.
Hello everyone. I am trying to use Stockstats to analyze data from Cryptocurrencies which have 8 decimals positions.
The results only use a precision of 6 decimals. Is there a way to configure stockstats to use more decimals?
If I convert the original data to float it reduces the precision to 6.
Imported Data (Pandas): datetime open high low close \ 0 2018-01-22 21:32:00 0.00000632 0.00000633 0.00000631 0.00000632
1 2018-01-22 21:33:00 0.00000631 0.00000632 0.00000631 0.00000631
2 2018-01-22 21:34:00 0.00000631 0.00000632 0.00000631 0.00000632
dtype: object datetime datetime64[ns] open object high object low object close object
Results using Stockstats of Bollinger Bands: close_20_mstd boll boll_ub boll_lb close_13_ema close_34_ema
0 NaN 0.000006 NaN NaN 0.000006 0.000006
1 7.071068e-09 0.000006 0.000006 0.000006 0.000006 0.000006
2 5.773503e-09 0.000006 0.000006 0.000006 0.000006 0.000006
3 5.000000e-09 0.000006 0.000006 0.000006 0.000006 0.000006
close_20_sma float64 close_20_mstd float64 boll float64 boll_ub float64 boll_lb float64 close_13_ema float64 close_34_ema float64