Task : Create a stocks list (UC1)

As said previously, in the scope of our bootstrap application, this use case will not require software development. In a richer trading application where a stock can be present in several lists, obviously, a user interface to add or update a stock list will be necessary in order to propagate changes in all lists.
Create a list from the application or outside from it is not important.
So, to create a stock list, we will create a csv file in our filesystem and write into the associated stocks.
We will create two lists (DJ 30 and CAC 40) which will be stored here :

${app.base.dir}/list/Dow Jones IA 30.csv
${app.base.dir}/list/CAC 40.csv

Down Jones IA 30.csv

ISIN;name;ticker
US88579Y1010;3M Co.;MMM
US0258161092;American Express Co.;AXP
US0378331005;Apple Inc.;AAPL
US0970231058;Boeing Co.;BA
US1491231015;Caterpillar Inc.;CAT
US1667641005;Chevron;CVX
US17275R1023;Cisco Systems Inc.;CSCO
US1912161007;Coca-Cola Co.;KO
US2635341090;E.I. DuPont de Nemours & Co.;DD
US30231G1022;Exxon Mobil;XOM
US3696041033;General Electric Co.;GE
US38141G1040;Goldman Sachs Group Inc;GS
US4370761029;Home Depot Inc.;HD
US4581401001;Intel Corp.;INTC
US4592001014;International Business Machines Corp.;IBM
US46625H1005;JPMorgan Chase;JPM
US4781601046;Johnson & Johnson;JNJ
US5801351017;McDonald's Corp.;MCD
US58933Y1055;Merck & Co. Inc.;MRK
US5949181045;Microsoft Corp.;MSFT
US6541061031;NIKE Inc;NKE
US7170811035;Pfizer Inc.;PFE
US7427181091;Procter & Gamble Co.;PG
US89417E1091;Travelers Cos.;TRV
US9130171096;United Technologies Corp.;UTX
US91324P1021;UnitedHealth Group Inc.;UNH
US92343V1044;Verizon Communications;VZ
US92826C8394;Visa Inc;V
US9311421039;Wal-Mart Stores Inc.;WMT
US2546871060;Walt Disney Co.;DIS

CAC 40.csv

ISIN;name;ticker
BE0003470755;Solvay;SOLB
FR0000045072;Credit Agricole;ACA
FR0000073272;Safran;SAF
FR0000120073;Air Liquide;AI
FR0000120172;Carrefour;CA
FR0000120271;Total;FP
FR0000120321;L'oreal;OR
FR0000120404;Accor;AC
FR0000120503;Bouygues;EN
FR0000120537;Lafarge;LG
FR0000120578;Sanofi;SAN
FR0000120628;Axa;CS
FR0000120644;Danone;BN
FR0000120693;Pernod Ricard;RI
FR0000121014;Lvmh;MC
FR0000121261;Michelin;ML
FR0000121485;Kering;KER
FR0000121667;Essilor Intl;EI
FR0000121972;Schneider Electric;SU
FR0000124141;Veolia Environ.;VIE
FR0000124711;Unibail-Rodamco;UL
FR0000125007;Saint Gobain;SGO
FR0000125338;Cap Gemini;CAP
FR0000125486;Vinci;DG
FR0000127771;Vivendi;VIV
FR0000130007;Alcatel-Lucent;ALU
FR0000130338;Valeo;FR
FR0000130577;Publicis Groupe;PUB
FR0000130809;Societe Generale;GLE
FR0000131104;Bnp Paribas;BNP
FR0000131708;Technip;TEC
FR0000131906;Renault;RNO
FR0000133308;Orange;ORA
FR0010208488;GDF Suez;GSZ
FR0010220475;Alstom;ALO
FR0010242511;EDF;EDF
FR0010307819;Legrand SA;LR
LU0323134006;Arcelor Mittal;MT
NL0000235190;Airbus Group;AIR
NL0000400653;Gemalto;GTO
Ce contenu a été publié dans trading. Vous pouvez le mettre en favoris avec ce permalien.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *