Commit Graph

22 Commits (ead6e5152587d0359745875afe826f56970798cd)

Author SHA1 Message Date
Trevor Welch ead6e51525 Refactored scripts.js
Scripts.JS was very hard to read initially.

This commity cleans things up, abstracts functions, and makes it a bit more easier to read.
4 years ago
Ryan Carbotte bdf967afc3 feat: Added a fresh coat of paint from Materialize
Adds some visual styling based on Material Design language, using the Materialize library.
4 years ago
Mike Bryant 250da34d74 refactor: Move predictions logic to a separate file
Fixes #6
4 years ago
Mike Bryant 4ab53128f0 fix: Properly implement small spike
Closes #8
4 years ago
Valerio Riva 840f684dee added week min and week max columns, sorted table by week max price
added css
4 years ago
Mike Bryant 0b599b368b Add min/max prices for each day 4 years ago
Mike Bryant d7976bd4fd fix: Predict higher prices in second day of spike if we know 4 years ago
Mike Bryant 4bcf881c40 Add experimental support for guessing the buy price 4 years ago
Mike Bryant 98e2dec711 Better precision for floating point stuff 4 years ago
Mike Bryant 2b34928f8e Fix the -1s 4 years ago
Naji Astier e4b31bd3d6
add saving of prices on local storage
add loading of prices from local storage on page load
add a reset button to clear the form

close #2
4 years ago
Mike Bryant c3e97ffdf9 fix: Collapse ranges to a single value when there's only one choice
Closes #5
4 years ago
Mike Bryant 253b4b4db2 fix: Switch to using floor for minimum predictions, someone is seeing different rounding behaviour 4 years ago
Mike Bryant 9309de5c2c fix: Rate calculation is based on ceiling not rounding 4 years ago
Mike Bryant 887bb6e62b Make it use a table 4 years ago
Mike Bryant 9032517c3a Add pattern description 4 years ago
Mike Bryant 75cdbebf08 Fix calculation bug where we weren't lenient enough and predicted slightly too high minimum prices 4 years ago
Mike Bryant 0163e91ab4 Implement pattern 0 4 years ago
Mike Bryant 4512bd328d Implement pattern 1 4 years ago
Mike Bryant bfbd508a0f Implement pattern 3 4 years ago
Mike Bryant 51cb8f3431 Strip useless code 4 years ago
Mike Bryant ea341cf6d3 Initial commit 4 years ago