mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
feat: Add Twelve Data provider for exchange rates and securities (#2)
* feat: Add Twelve Data provider for exchange rates and securities * test: fix hosting controller test, linting * fix: add countries gem to handle country codes in Twelve Data provider * fix: allow security search combobox to have no logo * refactor: update Twelve Data provider use time series endpoint * fix: set twelve data as default provider
This commit is contained in:
@@ -22,6 +22,15 @@ SECRET_KEY_BASE=secret-value
|
||||
# Get it here: https://synthfinance.com/
|
||||
SYNTH_API_KEY=
|
||||
|
||||
# Optional: Twelve Data API Key for exchange rates + stock prices
|
||||
# (you can also set this in your self-hosted settings page)
|
||||
# Get it here: https://twelvedata.com/
|
||||
TWELVE_DATA_API_KEY=
|
||||
|
||||
# Optional: Twelve Data provider is the default for exchange rates and securities.
|
||||
EXCHANGE_RATE_PROVIDER=twelve_data
|
||||
SECURITIES_PROVIDER=twelve_data
|
||||
|
||||
# Custom port config
|
||||
# For users who have other applications listening at 3000, this allows them to set a value puma will listen to.
|
||||
PORT=3000
|
||||
|
||||
Reference in New Issue
Block a user