Created
April 5, 2024 14:51
-
-
Save byteshadow/221463f20065fa3c2ec61586321ad1a5 to your computer and use it in GitHub Desktop.
product structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Securities", | |
"subCategories": [ | |
{ | |
"name": "Equitysecurities", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Commonstocks", | |
"id": 5, | |
"parent_id": 4, | |
"path": "/2/4/5", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Preferredstocks", | |
"id": 6, | |
"parent_id": 4, | |
"path": "/2/4/6", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Exchange Tradedfunds (Etfs)", | |
"id": 7, | |
"parent_id": 4, | |
"path": "/2/4/7", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Realestateinvestmenttrusts (Reits)", | |
"id": 8, | |
"parent_id": 4, | |
"path": "/2/4/8", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 4, | |
"parent_id": 2, | |
"path": "/2/4" | |
}, | |
{ | |
"name": "Debtsecurities", | |
"subCategories": [ | |
{ | |
"name": "Governmentbonds", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Treasurybonds", | |
"id": 13, | |
"parent_id": 12, | |
"path": "/2/10/12/13", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Municipalbonds", | |
"id": 14, | |
"parent_id": 12, | |
"path": "/2/10/12/14", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 12, | |
"parent_id": 10, | |
"path": "/2/10/12" | |
}, | |
{ | |
"name": "Corporatebonds", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Investment Gradebonds", | |
"id": 17, | |
"parent_id": 16, | |
"path": "/2/10/16/17", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "High Yieldbonds", | |
"id": 18, | |
"parent_id": 16, | |
"path": "/2/10/16/18", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Convertiblebonds", | |
"id": 19, | |
"parent_id": 16, | |
"path": "/2/10/16/19", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 16, | |
"parent_id": 10, | |
"path": "/2/10/16" | |
}, | |
{ | |
"name": "Mortgage Backedsecurities", | |
"subCategories": [], | |
"products": [], | |
"id": 21, | |
"parent_id": 10, | |
"path": "/2/10/21" | |
}, | |
{ | |
"name": "Asset Backedsecurities", | |
"subCategories": [], | |
"products": [], | |
"id": 23, | |
"parent_id": 10, | |
"path": "/2/10/23" | |
} | |
], | |
"products": [], | |
"id": 10, | |
"parent_id": 2, | |
"path": "/2/10" | |
} | |
], | |
"products": [], | |
"id": 2, | |
"parent_id": null, | |
"path": "/2" | |
}, | |
{ | |
"name": "Derivatives", | |
"subCategories": [ | |
{ | |
"name": "Options", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Calloptions", | |
"id": 27, | |
"parent_id": 26, | |
"path": "/24/26/27", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Putoptions", | |
"id": 28, | |
"parent_id": 26, | |
"path": "/24/26/28", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Indexoptions", | |
"id": 29, | |
"parent_id": 26, | |
"path": "/24/26/29", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Exoticoptions", | |
"id": 30, | |
"parent_id": 26, | |
"path": "/24/26/30", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 26, | |
"parent_id": 24, | |
"path": "/24/26" | |
}, | |
{ | |
"name": "Futures", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Stockindexfutures", | |
"id": 33, | |
"parent_id": 32, | |
"path": "/24/32/33", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Commodityfutures", | |
"id": 34, | |
"parent_id": 32, | |
"path": "/24/32/34", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Currencyfutures", | |
"id": 35, | |
"parent_id": 32, | |
"path": "/24/32/35", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Interestratefutures", | |
"id": 36, | |
"parent_id": 32, | |
"path": "/24/32/36", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 32, | |
"parent_id": 24, | |
"path": "/24/32" | |
}, | |
{ | |
"name": "Swaps", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Interestrateswaps", | |
"id": 39, | |
"parent_id": 38, | |
"path": "/24/38/39", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Creditdefaultswaps", | |
"id": 40, | |
"parent_id": 38, | |
"path": "/24/38/40", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Currencyswaps", | |
"id": 41, | |
"parent_id": 38, | |
"path": "/24/38/41", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Commodityswaps", | |
"id": 42, | |
"parent_id": 38, | |
"path": "/24/38/42", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 38, | |
"parent_id": 24, | |
"path": "/24/38" | |
}, | |
{ | |
"name": "Forwards", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Foreignexchangeforwards", | |
"id": 45, | |
"parent_id": 44, | |
"path": "/24/44/45", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Forwardrateagreements", | |
"id": 46, | |
"parent_id": 44, | |
"path": "/24/44/46", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 44, | |
"parent_id": 24, | |
"path": "/24/44" | |
} | |
], | |
"products": [], | |
"id": 24, | |
"parent_id": null, | |
"path": "/24" | |
}, | |
{ | |
"name": "Commodities", | |
"subCategories": [ | |
{ | |
"name": "Energy", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Crudeoil", | |
"id": 50, | |
"parent_id": 49, | |
"path": "/47/49/50", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Naturalgas", | |
"id": 51, | |
"parent_id": 49, | |
"path": "/47/49/51", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Heatingoil", | |
"id": 52, | |
"parent_id": 49, | |
"path": "/47/49/52", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Gasoline", | |
"id": 53, | |
"parent_id": 49, | |
"path": "/47/49/53", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 49, | |
"parent_id": 47, | |
"path": "/47/49" | |
}, | |
{ | |
"name": "Metals", | |
"subCategories": [ | |
{ | |
"name": "Preciousmetals", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Gold", | |
"id": 58, | |
"parent_id": 57, | |
"path": "/47/55/57/58", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Silver", | |
"id": 59, | |
"parent_id": 57, | |
"path": "/47/55/57/59", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Platinum", | |
"id": 60, | |
"parent_id": 57, | |
"path": "/47/55/57/60", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Palladium", | |
"id": 61, | |
"parent_id": 57, | |
"path": "/47/55/57/61", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 57, | |
"parent_id": 55, | |
"path": "/47/55/57" | |
}, | |
{ | |
"name": "Basemetals", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Copper", | |
"id": 64, | |
"parent_id": 63, | |
"path": "/47/55/63/64", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Aluminum", | |
"id": 65, | |
"parent_id": 63, | |
"path": "/47/55/63/65", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Zinc", | |
"id": 66, | |
"parent_id": 63, | |
"path": "/47/55/63/66", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Nickel", | |
"id": 67, | |
"parent_id": 63, | |
"path": "/47/55/63/67", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 63, | |
"parent_id": 55, | |
"path": "/47/55/63" | |
} | |
], | |
"products": [], | |
"id": 55, | |
"parent_id": 47, | |
"path": "/47/55" | |
}, | |
{ | |
"name": "Agriculture", | |
"subCategories": [ | |
{ | |
"name": "Grains", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Wheat", | |
"id": 72, | |
"parent_id": 71, | |
"path": "/47/69/71/72", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Corn", | |
"id": 73, | |
"parent_id": 71, | |
"path": "/47/69/71/73", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Soybeans", | |
"id": 74, | |
"parent_id": 71, | |
"path": "/47/69/71/74", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Rice", | |
"id": 75, | |
"parent_id": 71, | |
"path": "/47/69/71/75", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 71, | |
"parent_id": 69, | |
"path": "/47/69/71" | |
}, | |
{ | |
"name": "Softs", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Coffee", | |
"id": 78, | |
"parent_id": 77, | |
"path": "/47/69/77/78", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Sugar", | |
"id": 79, | |
"parent_id": 77, | |
"path": "/47/69/77/79", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Cocoa", | |
"id": 80, | |
"parent_id": 77, | |
"path": "/47/69/77/80", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Cotton", | |
"id": 81, | |
"parent_id": 77, | |
"path": "/47/69/77/81", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 77, | |
"parent_id": 69, | |
"path": "/47/69/77" | |
}, | |
{ | |
"name": "Livestock", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Livecattle", | |
"id": 84, | |
"parent_id": 83, | |
"path": "/47/69/83/84", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Leanhogs", | |
"id": 85, | |
"parent_id": 83, | |
"path": "/47/69/83/85", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 83, | |
"parent_id": 69, | |
"path": "/47/69/83" | |
} | |
], | |
"products": [], | |
"id": 69, | |
"parent_id": 47, | |
"path": "/47/69" | |
} | |
], | |
"products": [], | |
"id": 47, | |
"parent_id": null, | |
"path": "/47" | |
}, | |
{ | |
"name": "Currencies", | |
"subCategories": [ | |
{ | |
"name": "Majorcurrencypairs", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Eur/Usd", | |
"id": 89, | |
"parent_id": 88, | |
"path": "/86/88/89", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Gbp/Usd", | |
"id": 90, | |
"parent_id": 88, | |
"path": "/86/88/90", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Usd/Jpy", | |
"id": 91, | |
"parent_id": 88, | |
"path": "/86/88/91", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Usd/Chf", | |
"id": 92, | |
"parent_id": 88, | |
"path": "/86/88/92", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 88, | |
"parent_id": 86, | |
"path": "/86/88" | |
}, | |
{ | |
"name": "Minorcurrencypairs", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Usd/Cad", | |
"id": 95, | |
"parent_id": 94, | |
"path": "/86/94/95", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Aud/Usd", | |
"id": 96, | |
"parent_id": 94, | |
"path": "/86/94/96", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Nzd/Usd", | |
"id": 97, | |
"parent_id": 94, | |
"path": "/86/94/97", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Usd/Mxn", | |
"id": 98, | |
"parent_id": 94, | |
"path": "/86/94/98", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 94, | |
"parent_id": 86, | |
"path": "/86/94" | |
}, | |
{ | |
"name": "Exoticcurrencypairs", | |
"subCategories": [], | |
"products": [ | |
{ | |
"name": "Usd/Try", | |
"id": 101, | |
"parent_id": 100, | |
"path": "/86/100/101", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Usd/Zar", | |
"id": 102, | |
"parent_id": 100, | |
"path": "/86/100/102", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Usd/Hkd", | |
"id": 103, | |
"parent_id": 100, | |
"path": "/86/100/103", | |
"subCategories": [], | |
"products": [] | |
}, | |
{ | |
"name": "Usd/Sgd", | |
"id": 104, | |
"parent_id": 100, | |
"path": "/86/100/104", | |
"subCategories": [], | |
"products": [] | |
} | |
], | |
"id": 100, | |
"parent_id": 86, | |
"path": "/86/100" | |
} | |
], | |
"products": [], | |
"id": 86, | |
"parent_id": null, | |
"path": "/86" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment