Fetch exchange rates in bulk from synth #1069

Merged
tonyvince merged 6 commits from 1047-make-bulk-calls-to-synth-api into main 2024-08-09 22:57:33 +08:00
tonyvince commented 2024-08-08 20:16:15 +08:00 (Migrated from github.com)

Fix #1047

Fix #1047
zachgoll (Migrated from github.com) reviewed 2024-08-09 04:40:09 +08:00
zachgoll (Migrated from github.com) left a comment

Awesome work here!

Awesome work here!
@@ -15,0 +30,4 @@
end
else
[]
end
zachgoll (Migrated from github.com) commented 2024-08-09 04:39:36 +08:00

I think this should fix #1037 as well correct?

I think this should fix #1037 as well correct?
@@ -57,12 +57,40 @@ class Provider::Synth
end
zachgoll (Migrated from github.com) commented 2024-08-09 04:36:03 +08:00

Mostly style here, but could we keep this consistent with the fetch_security_prices method stub?

  def fetch_exchange_rates(from:, to:, start_date:, end_date:)
Mostly style here, but could we keep this consistent with the `fetch_security_prices` method stub? ```suggestion def fetch_exchange_rates(from:, to:, start_date:, end_date:) ```
tonyvince (Migrated from github.com) reviewed 2024-08-09 15:07:15 +08:00
@@ -15,0 +30,4 @@
end
else
[]
end
tonyvince (Migrated from github.com) commented 2024-08-09 15:07:15 +08:00

Yes!

Yes!
tonyvince (Migrated from github.com) reviewed 2024-08-09 15:07:27 +08:00
@@ -57,12 +57,40 @@ class Provider::Synth
end
tonyvince (Migrated from github.com) commented 2024-08-09 15:07:27 +08:00

Done.

Done.
zachgoll (Migrated from github.com) approved these changes 2024-08-09 22:57:27 +08:00
zachgoll (Migrated from github.com) left a comment

Great work, thanks for the help here!

Great work, thanks for the help here!
Sign in to join this conversation.