i05nagai/mafipy

View on GitHub

Showing 245 of 1,119 total issues

Function _sabr_implied_vol_hagan_A3_fhess_by_strike has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

def _sabr_implied_vol_hagan_A3_fhess_by_strike(
Severity: Major
Found in mafipy/function/sabr.py - About 50 mins to fix

    Function _sabr_implied_vol_hagan_A4 has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    def _sabr_implied_vol_hagan_A4(
    Severity: Major
    Found in mafipy/function/sabr.py - About 50 mins to fix

      Function _sabr_implied_vol_hagan_A12 has 7 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      def _sabr_implied_vol_hagan_A12(
      Severity: Major
      Found in mafipy/function/sabr.py - About 50 mins to fix

        Function _sabr_implied_vol_hagan_A31_fprime_by_underlying has 7 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def _sabr_implied_vol_hagan_A31_fprime_by_underlying(
        Severity: Major
        Found in mafipy/function/sabr.py - About 50 mins to fix

          Function _sabr_implied_vol_hagan_A12_fprime_by_strike has 7 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def _sabr_implied_vol_hagan_A12_fprime_by_strike(
          Severity: Major
          Found in mafipy/function/sabr.py - About 50 mins to fix

            Function _sabr_implied_vol_hagan_A3_fprime_by_underlying has 7 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            def _sabr_implied_vol_hagan_A3_fprime_by_underlying(
            Severity: Major
            Found in mafipy/function/sabr.py - About 50 mins to fix

              Function sabr_implied_vol_hagan_fhess_by_strike has 7 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              def sabr_implied_vol_hagan_fhess_by_strike(
              Severity: Major
              Found in mafipy/function/sabr.py - About 50 mins to fix

                Function _find_alpha has 6 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                def _find_alpha(underlying, option_maturity, vol_atm, beta, rho, nu):
                Severity: Minor
                Found in mafipy/calibrator/sabr.py - About 45 mins to fix

                  Function test_black_scholes_call_value_fprime_by_strike has 6 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

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

                    Function test_black_scholes_call_vega has 6 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

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

                      Function test_sabr_atm_implied_vol_hagan has 6 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          def test_sabr_atm_implied_vol_hagan(
                      Severity: Minor
                      Found in mafipy/function/tests/test_sabr.py - About 45 mins to fix

                        Function test_put_call_parity_black_scholes has 6 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            def test_put_call_parity_black_scholes(
                        Severity: Minor
                        Found in mafipy/function/tests/test_analytic_formula.py - About 45 mins to fix

                          Function _replicate_numerator has 6 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          def _replicate_numerator(init_swap_rate,
                          Severity: Minor
                          Found in mafipy/replication/pricer_quanto_cms.py - About 45 mins to fix

                            Function test_black_scholes_call_formula has 6 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

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

                              Function test_make_pdf_black_scholes has 6 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  def test_make_pdf_black_scholes(
                              Severity: Minor
                              Found in mafipy/replication/tests/test_pricer_quanto_cms.py - About 45 mins to fix

                                Function test_make_cdf_black_scholes has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    def test_make_cdf_black_scholes(
                                Severity: Minor
                                Found in mafipy/replication/tests/test_pricer_quanto_cms.py - About 45 mins to fix

                                  Function test_black_scholes_call_theta has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

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

                                    Function test_black_scholes_call_value has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

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

                                      Function test_black_scholes_call_value_third_by_strike has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

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

                                        Function test_black_scholes_call_rho has 6 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            def test_black_scholes_call_rho(
                                        Severity: Minor
                                        Found in mafipy/function/tests/test_black_scholes.py - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language