mirror of
https://github.com/we-promise/sure
synced 2026-04-25 17:15:07 +02:00
Add binance security provider for crypto (#1424)
* Binance as securities provider * Disable twelve data crypto results * Add logo support and new currency pairs * FIX importer fallback * Add price clamping and optiimize retrieval * Review * Update adding-a-securities-provider.md * day gap miss fix * New fixes * Brandfetch doesn't support crypto. add new CDN * Update _investment_performance.html.erb
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddFirstProviderPriceOnToSecurities < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :securities, :first_provider_price_on, :date
|
||||
end
|
||||
end
|
||||
3
db/schema.rb
generated
3
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.2].define(version: 2026_04_08_151837) do
|
||||
ActiveRecord::Schema[7.2].define(version: 2026_04_10_114435) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
@@ -1217,6 +1217,7 @@ ActiveRecord::Schema[7.2].define(version: 2026_04_08_151837) do
|
||||
t.string "kind", default: "standard", null: false
|
||||
t.string "price_provider"
|
||||
t.string "offline_reason"
|
||||
t.date "first_provider_price_on"
|
||||
t.index "upper((ticker)::text), COALESCE(upper((exchange_operating_mic)::text), ''::text)", name: "index_securities_on_ticker_and_exchange_operating_mic_unique", unique: true
|
||||
t.index ["country_code"], name: "index_securities_on_country_code"
|
||||
t.index ["exchange_operating_mic"], name: "index_securities_on_exchange_operating_mic"
|
||||
|
||||
Reference in New Issue
Block a user