i05nagai/mafipy

View on GitHub

Showing 245 of 1,119 total issues

Function func_d2 has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

def func_d2(underlying, strike, rate, maturity, vol):
Severity: Minor
Found in mafipy/function/black_scholes.py - About 35 mins to fix

    Function d_fprime_by_strike has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def d_fprime_by_strike(underlying, strike, rate, maturity, vol):
    Severity: Minor
    Found in mafipy/function/black_scholes.py - About 35 mins to fix

      Function black_scholes_cdf has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def black_scholes_cdf(underlying, strike, rate, maturity, vol):
      Severity: Minor
      Found in mafipy/function/black_scholes.py - About 35 mins to fix

        Function test_black_scholes_implied_vol has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def test_black_scholes_implied_vol(
        Severity: Minor
        Found in mafipy/calibrator/tests/test_implied_vol.py - About 35 mins to fix

          Function test_black_payers_swaption_value_fprime_by_strike has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              def test_black_payers_swaption_value_fprime_by_strike(self,
          Severity: Minor
          Found in mafipy/function/tests/test_black.py - About 35 mins to fix

            Function test_black_payers_swaption_pdf has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                def test_black_payers_swaption_pdf(self,
            Severity: Minor
            Found in mafipy/function/tests/test_black.py - About 35 mins to fix

              Function black_scholes_call_value_fhess_by_strike has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def black_scholes_call_value_fhess_by_strike(
              Severity: Minor
              Found in mafipy/function/black_scholes.py - About 35 mins to fix

                Function black_scholes_call_gamma has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                def black_scholes_call_gamma(underlying, strike, rate, maturity, vol):
                Severity: Minor
                Found in mafipy/function/black_scholes.py - About 35 mins to fix

                  Function black_scholes_pdf has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  def black_scholes_pdf(underlying, strike, rate, maturity, vol):
                  Severity: Minor
                  Found in mafipy/function/black_scholes.py - About 35 mins to fix

                    Function black_payers_swaption_delta has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def black_payers_swaption_delta(
                    Severity: Minor
                    Found in mafipy/function/black.py - About 35 mins to fix

                      Function test_black_scholes_call_vega_fprime_by_strike has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def test_black_scholes_call_vega_fprime_by_strike(
                      Severity: Minor
                      Found in mafipy/function/tests/test_black_scholes.py - About 35 mins to fix

                        Function black_scholes_call_delta has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def black_scholes_call_delta(underlying, strike, rate, maturity, vol):
                        Severity: Minor
                        Found in mafipy/function/black_scholes.py - About 35 mins to fix

                          Function black_scholes_call_vega_fprime_by_strike has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def black_scholes_call_vega_fprime_by_strike(
                          Severity: Minor
                          Found in mafipy/function/black_scholes.py - About 35 mins to fix

                            Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                def __init__(self,
                            Severity: Minor
                            Found in mafipy/replication/replication_method.py - About 35 mins to fix

                              Function test_make_pdf_black_swaption has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def test_make_pdf_black_swaption(self,
                              Severity: Minor
                              Found in mafipy/replication/tests/test_pricer_quanto_cms.py - About 35 mins to fix

                                Function test_model_black_payers_swaption_volga has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    def test_model_black_payers_swaption_volga(self,
                                Severity: Minor
                                Found in mafipy/function/tests/test_black.py - About 35 mins to fix

                                  Function test_black_payers_swaption_cdf has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      def test_black_payers_swaption_cdf(self,
                                  Severity: Minor
                                  Found in mafipy/function/tests/test_black.py - About 35 mins to fix

                                    Function black_scholes_call_vega has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def black_scholes_call_vega(underlying, strike, rate, maturity, vol):
                                    Severity: Minor
                                    Found in mafipy/function/black_scholes.py - About 35 mins to fix

                                      Function test_black_swaption_implied_vol has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          def test_black_swaption_implied_vol(self,
                                      Severity: Minor
                                      Found in mafipy/calibrator/tests/test_sabr.py - About 35 mins to fix

                                        Function black_payers_swaption_value_third_by_strike has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def black_payers_swaption_value_third_by_strike(
                                        Severity: Minor
                                        Found in mafipy/function/black.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language