mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
First pass at security price reference (#1388)
* First pass at security price reference
* Data cleanup
* Synth security fetching does better with a mic_code
* Update test suite
😭
* Update schema.rb
* Update generator.rb
This commit is contained in:
4
test/fixtures/security/prices.yml
vendored
4
test/fixtures/security/prices.yml
vendored
@@ -1,11 +1,11 @@
|
||||
one:
|
||||
ticker: AAPL
|
||||
security: aapl
|
||||
date: <%= Date.current %>
|
||||
price: 215
|
||||
currency: USD
|
||||
|
||||
two:
|
||||
ticker: AAPL
|
||||
security: aapl
|
||||
date: <%= 1.day.ago.to_date %>
|
||||
price: 214
|
||||
currency: USD
|
||||
|
||||
Reference in New Issue
Block a user