Skip to content

Commit

Permalink
Expand asset categories
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroFish91 committed Nov 20, 2024
1 parent 11cdb55 commit cb7dade
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/types/holding.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ const (
ISCB AssetCategory = "ISCB"
ISCG AssetCategory = "ISCG"
ISCV AssetCategory = "ISCV"
CRYPTO AssetCategory = "CRYPTO"
OTHER AssetCategory = "OTHER"
)

var ValidAssetCategories = []interface{}{
CASH, BILLS, STB, ITB, LTB, COMMODITIES, GOLD, REITS, TSM,
DLCB, DLCG, DLCV, DMCB, DMCG, DMCV, DSCG, DSCB, DSCV,
ILCB, ILCG, ILCV, IMCB, IMCG, IMCV, ISCB, ISCG, ISCV, OTHER,
ILCB, ILCG, ILCV, IMCB, IMCG, IMCV, ISCB, ISCG, ISCV, CRYPTO, OTHER,
}

type Holding struct {
Expand Down
1 change: 1 addition & 0 deletions migrations/20240706215008_create-holding-table.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ CREATE TYPE asset_type AS ENUM (
'ISCB',
'ISCG',
'ISCV',
'CRYPTO',
'OTHER'
);

Expand Down

0 comments on commit cb7dade

Please sign in to comment.