Commit Graph

6 Commits

Author SHA1 Message Date
Aaron Lindsay 5f296e8669 Split prices into models 2017-12-05 05:59:44 -05:00
Aaron Lindsay 50dd7b1d26 testing: Use Time.Equal for date comparisons
Postgres actually preserves the timezone, unlike sqlite and mysql...
2017-11-17 05:20:10 -05:00
Aaron Lindsay c48c50d2c5 API: Move prices under securities
For example, instead of GETting /prices/5 to query a price with ID 5,
you now must GET /securities/2/prices/5 (assuming price 5's SecurityId
is 2)
2017-11-16 19:32:30 -05:00
Aaron Lindsay 5a6be5a07b Stop using form elements for API
Just send the JSON as the request body
2017-11-13 20:48:19 -05:00
Aaron Lindsay 9429b748fa Prefix all API endpoints with 'v1/', pluralize collections 2017-11-11 08:05:09 -05:00
Aaron Lindsay 9b1b682bac prices: Implement initial API and tests 2017-11-10 20:13:49 -05:00