SlideShare ist ein Scribd-Unternehmen logo
1 von 41
RiskMan

         Open Source Agile Project

      by SIAgile - Svizzera Italiana Agile




Smart Risk Management presented by:      giuseppe.dipierri@gmail.com
Why ?
Why ?
	   	



        we like code katas
Why ?
	   	



        we like code katas
        we like randori
Why ?
	   	



        we like code katas
        we like randori
        we like no profit
Why ?
	   	



        we like code katas
        we like randori
        we like no profit
        we need training
Why ?
	   	



        we like code katas
        we like randori
        we like no profit
        we need training
        let’s show that agile rocks!
Why ?
	   	



        we like code katas
        we like randori
        we like no profit
        we need training
        let’s show that agile rocks!
        we wanna a real life project
What ?   in 4 weeks job!
What ?           in 4 weeks job!

	   	



        portfolio selection with no sql
What ?           in 4 weeks job!

	   	



        portfolio selection with no sql
        “equity:CHF + bond:USA:Aaa”
What ?           in 4 weeks job!

	   	



        portfolio selection with no sql
        “equity:CHF + bond:USA:Aaa”
        check against portfolio: “from 5% to 13%”
What ?           in 4 weeks job!

	   	



        portfolio selection with no sql
        “equity:CHF + bond:USA:Aaa”
        check against portfolio: “from 5% to 13%”
        no db - no web - just shell & files
What ?           in 4 weeks job!

	   	



        portfolio selection with no sql
        “equity:CHF + bond:USA:Aaa”
        check against portfolio: “from 5% to 13%”
        no db - no web - just shell & files
        bottom up approach
What ?           in 4 weeks job!

	   	



        portfolio selection with no sql
        “equity:CHF + bond:USA:Aaa”
        check against portfolio: “from 5% to 13%”
        no db - no web - just shell & files
        bottom up approach
        ∼ no dependencies
What ?           in 4 weeks job!

	   	



        portfolio selection with no sql
        “equity:CHF + bond:USA:Aaa”
        check against portfolio: “from 5% to 13%”
        no db - no web - just shell & files
        bottom up approach
        ∼ no dependencies
        minimalism & pragmatism
How ?
How ?
	   	



        TDD: no test => no code
How ?
	   	



        TDD: no test => no code
        DDD: no tech name
How ?
	   	



        TDD: no test => no code
        DDD: no tech name
        OCP & SoC ...
How ?
	   	



        TDD: no test => no code
        DDD: no tech name
        OCP & SoC ...
        Method: < 7 LoC
How ?
	   	



        TDD: no test => no code
        DDD: no tech name
        OCP & SoC ...
        Method: < 7 LoC
        Method: one for - one if (or no if at all)
How ?
	   	



        TDD: no test => no code
        DDD: no tech name
        OCP & SoC ...
        Method: < 7 LoC
        Method: one for - one if (or no if at all)
        Class < 3 attrs
How ?
	   	



        TDD: no test => no code
        DDD: no tech name
        OCP & SoC ...
        Method: < 7 LoC
        Method: one for - one if (or no if at all)
        Class < 3 attrs
        Method: no base parameter (one only)
How ?
	   	



        TDD: no test => no code
        DDD: no tech name
        OCP & SoC ...
        Method: < 7 LoC
        Method: one for - one if (or no if at all)
        Class < 3 attrs
        Method: no base parameter (one only)
simplicity
	   	
	   	   CHF100 = Money.CHF(100);
	   	   USD100 = Money.USD(100);
	   	
	   	   final Money sum = Money.CHF(210);
	   	
	   	   assertEquals(sum, CHF100.plus(USD100));




                                       first
domain driven
	   	   final MoodyRating A2 = MoodyRatings.find("A2");
	   	   final Area UE = Area.from("UE");

	   	   positions = new Positions() {
	   	   	   {
	   	   	   	    add(account("salary", CHF(10)));
	   	   	   	    add(UBS(CHF(100)));
	   	   	   	    add(bond(Bond.from("GECC", A2, UE), CHF(100), "100%"));
	   	   	   }
	   	   };
	   	   constraint = contraint("UE,USA", "min 20%");

	   	   assertTrue(constraint.checkLimitOn(positions));




                                   design
some example...
> help

Menu: --------------------

       'p' or 'positions'

       
   - print all positions

       'h' or 'help'
     
       
   - print this help

       'r or remove'
 
           
   - remove last filter

       'check on <group>'
        
   - split and check according to criteria and print results, i.e. check on owner max 5%

       'group by <criteria>'
     
   - print the positions grouped by given criteria

       'load <file>'
      
       
   - load positions from given file

       'show <data>'
 
           
   - print the values, where <data> can be one of: areas, owners, equities, bonds, moody


         'q' or 'quit'
    
      
   - to exit this program

         'filter by <criteria>'
   
   - change context on positions filtered by given criteria
--------------------------
> load “all-positions.csv”

[...]
aaa13:   Equity: SPY - 25'135 with price:113.66 USD = 2'856'844.1 USD
aaa13:   Equity: HSBC GIF Indian Equity AD - 2'350 with price:183.074 USD = 430'223.9 USD
aaa13:   Account: CHF-0172-EUR75-CHF 2'100'287.357 CHF
aaa14:   Account: EUR-0172-EUR75-EUR 3'816'729.798 EUR
aaa14:   Account: USD-0172-EUR75-USD 581'430.622 USD
aaa14:   Account: CHF-548713.2120.001.01 -0 CHF
aaa14:   Account: EUR-548713.2120.814.01 -0.06 EUR
aaa14:   Account: EUR-0456-0466553-52-001 0 EUR
aaa14:   Equity: CB-Accent Global Equity Fund Cap B - 2'200 with price:78.29 CHF = 172'238 CHF
aaa14:   Equity: KPN Koninklijke - 8'200 with price:11.97 EUR = 98'154 EUR
aaa14:   Equity: Siemens N eur - 200 with price:66.3 EUR = 13'260 EUR
aaa14:   Account: CHF-0456-0642763-11-000 1'749.957 CHF
aaa14:   Account: EUR-0456-0642763-12-000 1'871.49 EUR


1'850 positions loaded!

Total Value is:
467'770'275.36 USD

> cool!
> group by currency

----------------- currency=AUD;
aaa2: Account: AUD-0456-0124244-72-001 1'633.694 AUD
aaa3: Account: AUD-0456-0540424-72-002 -0.002 AUD
aaa4: Account: AUD-0247.681.504.61R 847.208 AUD
aaa6: Bond 20110218 - 7.375% Ned Waterschapsbank 18-02-11 rating:NR: 200'000 AUD 102.542% = 205'084 AUD
aaa6: Bond 20110218 - 7.375% Ned Waterschapsbank 18-02-11 Pro-rata rating:NR: 0 AUD 0% = 0 AUD
aaa6: Account: AUD-0229291049 1'771.315 AUD
aaa7: Bond 20100127 - 5.5% Rabo 27-01-10 rating:NR: 350'000 AUD 99.97% = 349'895 AUD
aaa7: Bond 20100127 - 5.5% Rabo 27-01-10 Pro-rata rating:NR: 0 AUD 0% = 0 AUD

8 positions found for group: <AUD>

----------------- currency=GBP;
pippo1: Account: GBP-0056712AE -0.001 GBP
pippo23: Account: GBP-0234-641.817.65N -0 GBP
pippo24: Account: GBP-0247-665.980.70B 0 GBP
pippo28: Account: GBP-0247-688.557.60R -0 GBP
pippo28: Account: GBP-0247-688.557.60R -0.16 GBP
pippo33: Account: GBP-0247-693.051.60V 0 GBP
pippo34: Account: GBP-0247-697.217.6BB 0 GBP
pippo54: Account: GBP-0002194057 0.003 GBP
pippo54: Account: GBP-CallGeld LGT-CALL GELD 0 GBP
aaa6: Account: GBP-0247.681.504.62H 2'890.803 GBP
aaa6: Bond 20110208 - 5.625% BNG 08-02-11 rating:NR: 50'000 GBP 104.99% = 52'495 GBP
aaa6: Bond 20110208 - 5.625% BNG 08-02-11 Pro-rata rating:NR: 0 GBP 0% = 0 GBP

12 positions found for group: <GBP>
> check on currency max 5%

JPY KO, check <max:5%> but is 21.733% (50'829'486.39 USD over 233'885'137.68 USD)

CHF KO, check <max:5%> but is 26.978% (63'097'704.953 CHF over 233'885'137.68 USD)

EUR KO, check <max:5%> but is 40.631% (95'030'812.698 USD over 233'885'137.68 USD)

USD KO, check <max:5%> but is 14.159% (33'115'022.738 CHF over 233'885'137.68 USD)

AUD OK

GBP OK


> what about if Japan (with its Dept at 200% of GDP) gets on default?
Future ?
Future ?
	   	




        don’t stop here
Future ?
	   	




        don’t stop here
        goal: katas also on real life projects
Future ?
	   	




        don’t stop here
        goal: katas also on real life projects
        goal: training - no profit (siagile)
Future ?
	   	




        don’t stop here
        goal: katas also on real life projects
        goal: training - no profit (siagile)
        goal: conferences, workshops
Future ?
	   	




        don’t stop here
        goal: katas also on real life projects
        goal: training - no profit (siagile)
        goal: conferences, workshops
        vertical open source (finance industry)
Future ?
	   	




        don’t stop here
        goal: katas also on real life projects
        goal: training - no profit (siagile)
        goal: conferences, workshops
        vertical open source (finance industry)
        mentor wanted!
Future ?
	   	




        don’t stop here
        goal: katas also on real life projects
        goal: training - no profit (siagile)
        goal: conferences, workshops
        vertical open source (finance industry)
        mentor wanted!
        new developers are welcome
RiskMan

                  Thanks!

    see: http://www.github.com/pino1068/riskman



Smart Risk Management
            Open Source Agile Project
         by SIAgile - Svizzera Italiana Agile

                            presented by: giuseppe.dipierri@gmail.com

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...
Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...
Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...priyasharma62062
 
Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...jeffreytingson
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Pooja Nehwal
 
Top Rated Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesFalcon Invoice Discounting
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...dipikadinghjn ( Why You Choose Us? ) Escorts
 
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...dipikadinghjn ( Why You Choose Us? ) Escorts
 
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbaiVasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbaipriyasharma62062
 
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
WhatsApp 📞 Call : 9892124323 ✅Call Girls In Chembur ( Mumbai ) secure service
WhatsApp 📞 Call : 9892124323  ✅Call Girls In Chembur ( Mumbai ) secure serviceWhatsApp 📞 Call : 9892124323  ✅Call Girls In Chembur ( Mumbai ) secure service
WhatsApp 📞 Call : 9892124323 ✅Call Girls In Chembur ( Mumbai ) secure servicePooja Nehwal
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfMichael Silva
 
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...roshnidevijkn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...dipikadinghjn ( Why You Choose Us? ) Escorts
 
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...Call Girls in Nagpur High Profile
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...dipikadinghjn ( Why You Choose Us? ) Escorts
 
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...dipikadinghjn ( Why You Choose Us? ) Escorts
 

Kürzlich hochgeladen (20)

Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...
Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...
Mira Road Awesome 100% Independent Call Girls NUmber-9833754194-Dahisar Inter...
 
Business Principles, Tools, and Techniques in Participating in Various Types...
Business Principles, Tools, and Techniques  in Participating in Various Types...Business Principles, Tools, and Techniques  in Participating in Various Types...
Business Principles, Tools, and Techniques in Participating in Various Types...
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
 
Top Rated Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Dighi ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
falcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunitiesfalcon-invoice-discounting-unlocking-prime-investment-opportunities
falcon-invoice-discounting-unlocking-prime-investment-opportunities
 
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
VIP Call Girl Service Andheri West ⚡ 9920725232 What It Takes To Be The Best ...
 
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
( Jasmin ) Top VIP Escorts Service Dindigul 💧 7737669865 💧 by Dindigul Call G...
 
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
VIP Call Girl in Thane 💧 9920725232 ( Call Me ) Get A New Crush Everyday With...
 
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbaiVasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
Vasai-Virar Fantastic Call Girls-9833754194-Call Girls MUmbai
 
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Banaswadi Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
WhatsApp 📞 Call : 9892124323 ✅Call Girls In Chembur ( Mumbai ) secure service
WhatsApp 📞 Call : 9892124323  ✅Call Girls In Chembur ( Mumbai ) secure serviceWhatsApp 📞 Call : 9892124323  ✅Call Girls In Chembur ( Mumbai ) secure service
WhatsApp 📞 Call : 9892124323 ✅Call Girls In Chembur ( Mumbai ) secure service
 
Stock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdfStock Market Brief Deck (Under Pressure).pdf
Stock Market Brief Deck (Under Pressure).pdf
 
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
Call Girls Service Pune ₹7.5k Pick Up & Drop With Cash Payment 9352852248 Cal...
 
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Mumbai 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(INDIRA) Call Girl Mumbai Call Now 8250077686 Mumbai Escorts 24x7
 
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
VIP Independent Call Girls in Andheri 🌹 9920725232 ( Call Me ) Mumbai Escorts...
 
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
VIP Call Girl in Mumbai 💧 9920725232 ( Call Me ) Get A New Crush Everyday Wit...
 
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...Top Rated  Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
Top Rated Pune Call Girls Sinhagad Road ⟟ 6297143586 ⟟ Call Me For Genuine S...
 
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
VIP Independent Call Girls in Bandra West 🌹 9920725232 ( Call Me ) Mumbai Esc...
 
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
VIP Independent Call Girls in Taloja 🌹 9920725232 ( Call Me ) Mumbai Escorts ...
 

Empfohlen

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

RiskMan @AgileCamp 2010 - Lugano

  • 1. RiskMan Open Source Agile Project by SIAgile - Svizzera Italiana Agile Smart Risk Management presented by: giuseppe.dipierri@gmail.com
  • 3. Why ? we like code katas
  • 4. Why ? we like code katas we like randori
  • 5. Why ? we like code katas we like randori we like no profit
  • 6. Why ? we like code katas we like randori we like no profit we need training
  • 7. Why ? we like code katas we like randori we like no profit we need training let’s show that agile rocks!
  • 8. Why ? we like code katas we like randori we like no profit we need training let’s show that agile rocks! we wanna a real life project
  • 9. What ? in 4 weeks job!
  • 10. What ? in 4 weeks job! portfolio selection with no sql
  • 11. What ? in 4 weeks job! portfolio selection with no sql “equity:CHF + bond:USA:Aaa”
  • 12. What ? in 4 weeks job! portfolio selection with no sql “equity:CHF + bond:USA:Aaa” check against portfolio: “from 5% to 13%”
  • 13. What ? in 4 weeks job! portfolio selection with no sql “equity:CHF + bond:USA:Aaa” check against portfolio: “from 5% to 13%” no db - no web - just shell & files
  • 14. What ? in 4 weeks job! portfolio selection with no sql “equity:CHF + bond:USA:Aaa” check against portfolio: “from 5% to 13%” no db - no web - just shell & files bottom up approach
  • 15. What ? in 4 weeks job! portfolio selection with no sql “equity:CHF + bond:USA:Aaa” check against portfolio: “from 5% to 13%” no db - no web - just shell & files bottom up approach ∼ no dependencies
  • 16. What ? in 4 weeks job! portfolio selection with no sql “equity:CHF + bond:USA:Aaa” check against portfolio: “from 5% to 13%” no db - no web - just shell & files bottom up approach ∼ no dependencies minimalism & pragmatism
  • 17. How ?
  • 18. How ? TDD: no test => no code
  • 19. How ? TDD: no test => no code DDD: no tech name
  • 20. How ? TDD: no test => no code DDD: no tech name OCP & SoC ...
  • 21. How ? TDD: no test => no code DDD: no tech name OCP & SoC ... Method: < 7 LoC
  • 22. How ? TDD: no test => no code DDD: no tech name OCP & SoC ... Method: < 7 LoC Method: one for - one if (or no if at all)
  • 23. How ? TDD: no test => no code DDD: no tech name OCP & SoC ... Method: < 7 LoC Method: one for - one if (or no if at all) Class < 3 attrs
  • 24. How ? TDD: no test => no code DDD: no tech name OCP & SoC ... Method: < 7 LoC Method: one for - one if (or no if at all) Class < 3 attrs Method: no base parameter (one only)
  • 25. How ? TDD: no test => no code DDD: no tech name OCP & SoC ... Method: < 7 LoC Method: one for - one if (or no if at all) Class < 3 attrs Method: no base parameter (one only)
  • 26. simplicity CHF100 = Money.CHF(100); USD100 = Money.USD(100); final Money sum = Money.CHF(210); assertEquals(sum, CHF100.plus(USD100)); first
  • 27. domain driven final MoodyRating A2 = MoodyRatings.find("A2"); final Area UE = Area.from("UE"); positions = new Positions() { { add(account("salary", CHF(10))); add(UBS(CHF(100))); add(bond(Bond.from("GECC", A2, UE), CHF(100), "100%")); } }; constraint = contraint("UE,USA", "min 20%"); assertTrue(constraint.checkLimitOn(positions)); design
  • 29. > help Menu: -------------------- 'p' or 'positions' - print all positions 'h' or 'help' - print this help 'r or remove' - remove last filter 'check on <group>' - split and check according to criteria and print results, i.e. check on owner max 5% 'group by <criteria>' - print the positions grouped by given criteria 'load <file>' - load positions from given file 'show <data>' - print the values, where <data> can be one of: areas, owners, equities, bonds, moody 'q' or 'quit' - to exit this program 'filter by <criteria>' - change context on positions filtered by given criteria --------------------------
  • 30. > load “all-positions.csv” [...] aaa13: Equity: SPY - 25'135 with price:113.66 USD = 2'856'844.1 USD aaa13: Equity: HSBC GIF Indian Equity AD - 2'350 with price:183.074 USD = 430'223.9 USD aaa13: Account: CHF-0172-EUR75-CHF 2'100'287.357 CHF aaa14: Account: EUR-0172-EUR75-EUR 3'816'729.798 EUR aaa14: Account: USD-0172-EUR75-USD 581'430.622 USD aaa14: Account: CHF-548713.2120.001.01 -0 CHF aaa14: Account: EUR-548713.2120.814.01 -0.06 EUR aaa14: Account: EUR-0456-0466553-52-001 0 EUR aaa14: Equity: CB-Accent Global Equity Fund Cap B - 2'200 with price:78.29 CHF = 172'238 CHF aaa14: Equity: KPN Koninklijke - 8'200 with price:11.97 EUR = 98'154 EUR aaa14: Equity: Siemens N eur - 200 with price:66.3 EUR = 13'260 EUR aaa14: Account: CHF-0456-0642763-11-000 1'749.957 CHF aaa14: Account: EUR-0456-0642763-12-000 1'871.49 EUR 1'850 positions loaded! Total Value is: 467'770'275.36 USD > cool!
  • 31. > group by currency ----------------- currency=AUD; aaa2: Account: AUD-0456-0124244-72-001 1'633.694 AUD aaa3: Account: AUD-0456-0540424-72-002 -0.002 AUD aaa4: Account: AUD-0247.681.504.61R 847.208 AUD aaa6: Bond 20110218 - 7.375% Ned Waterschapsbank 18-02-11 rating:NR: 200'000 AUD 102.542% = 205'084 AUD aaa6: Bond 20110218 - 7.375% Ned Waterschapsbank 18-02-11 Pro-rata rating:NR: 0 AUD 0% = 0 AUD aaa6: Account: AUD-0229291049 1'771.315 AUD aaa7: Bond 20100127 - 5.5% Rabo 27-01-10 rating:NR: 350'000 AUD 99.97% = 349'895 AUD aaa7: Bond 20100127 - 5.5% Rabo 27-01-10 Pro-rata rating:NR: 0 AUD 0% = 0 AUD 8 positions found for group: <AUD> ----------------- currency=GBP; pippo1: Account: GBP-0056712AE -0.001 GBP pippo23: Account: GBP-0234-641.817.65N -0 GBP pippo24: Account: GBP-0247-665.980.70B 0 GBP pippo28: Account: GBP-0247-688.557.60R -0 GBP pippo28: Account: GBP-0247-688.557.60R -0.16 GBP pippo33: Account: GBP-0247-693.051.60V 0 GBP pippo34: Account: GBP-0247-697.217.6BB 0 GBP pippo54: Account: GBP-0002194057 0.003 GBP pippo54: Account: GBP-CallGeld LGT-CALL GELD 0 GBP aaa6: Account: GBP-0247.681.504.62H 2'890.803 GBP aaa6: Bond 20110208 - 5.625% BNG 08-02-11 rating:NR: 50'000 GBP 104.99% = 52'495 GBP aaa6: Bond 20110208 - 5.625% BNG 08-02-11 Pro-rata rating:NR: 0 GBP 0% = 0 GBP 12 positions found for group: <GBP>
  • 32. > check on currency max 5% JPY KO, check <max:5%> but is 21.733% (50'829'486.39 USD over 233'885'137.68 USD) CHF KO, check <max:5%> but is 26.978% (63'097'704.953 CHF over 233'885'137.68 USD) EUR KO, check <max:5%> but is 40.631% (95'030'812.698 USD over 233'885'137.68 USD) USD KO, check <max:5%> but is 14.159% (33'115'022.738 CHF over 233'885'137.68 USD) AUD OK GBP OK > what about if Japan (with its Dept at 200% of GDP) gets on default?
  • 34. Future ? don’t stop here
  • 35. Future ? don’t stop here goal: katas also on real life projects
  • 36. Future ? don’t stop here goal: katas also on real life projects goal: training - no profit (siagile)
  • 37. Future ? don’t stop here goal: katas also on real life projects goal: training - no profit (siagile) goal: conferences, workshops
  • 38. Future ? don’t stop here goal: katas also on real life projects goal: training - no profit (siagile) goal: conferences, workshops vertical open source (finance industry)
  • 39. Future ? don’t stop here goal: katas also on real life projects goal: training - no profit (siagile) goal: conferences, workshops vertical open source (finance industry) mentor wanted!
  • 40. Future ? don’t stop here goal: katas also on real life projects goal: training - no profit (siagile) goal: conferences, workshops vertical open source (finance industry) mentor wanted! new developers are welcome
  • 41. RiskMan Thanks! see: http://www.github.com/pino1068/riskman Smart Risk Management Open Source Agile Project by SIAgile - Svizzera Italiana Agile presented by: giuseppe.dipierri@gmail.com

Hinweis der Redaktion