Commit Graph

4 Commits

Author SHA1 Message Date
James Grugett
74fe80fd42 Handle floating point precision in max shares you can sell. 2022-03-29 14:47:23 -05:00
James Grugett
e1d265f7aa Don't allow selling more than max shares in cloud function 2022-03-29 00:28:08 -05:00
James Grugett
43b404e7ed Compute sale value of shares with binary search to keep k constant. 2022-03-28 21:39:40 -05:00
James Grugett
a6d2e3594b Sell shares cloud function. 2022-03-27 23:31:56 -05:00