Slashdot Mirror


SEC Proposes Wall Street Transparency Via Python

An anonymous reader writes "A US federal agency is considering the use of computing languages to specify legal requirements. 'We are proposing that the computer program be filed on EDGAR in the form of downloadable source code in Python. ... Under the proposed requirement, the filed source code, when downloaded and run by an investor, must provide the user with the ability to programmatically input the user's own assumptions regarding the future performance and cash flows from the pool assets, including but not limited to assumptions about future interest rates, default rates, prepayment speeds, loss-given-default rates, and any other necessary assumptions.' Does this move make sense? If the proposed rule is enacted, it certainly will bring attention to Python or other permitted languages. Will that be a good thing?" The above quotes were pulled from pages 205 and 210 of the dense, 667-page proposal document (PDF). Market expert and professor of finance Jayanth R. Varma says it's a good idea.

21 of 278 comments (clear)

  1. Good idea. by T-Bucket · · Score: 5, Funny

    I think a lot of those wall-street types would suddenly admit to everything they've done wrong if you confront them with a big enough Python...

    1. Re:Good idea. by modmans2ndcoming · · Score: 1, Funny

      Actually... I was thinking no... but only because they are all sexual deviants and have seen those kinds of Pythons in their Orgy Clubs.

    2. Re:Good idea. by TapeCutter · · Score: 4, Funny

      I think a lot of those wall-street types would suddenly admit to everything they've done wrong if you confront them with a big enough Python...

      Considering the amount of snake oil on Wall street, I think the python would be the one begging for mercy.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    3. Re:Good idea. by TapeCutter · · Score: 4, Funny

      "My view is that there just is no substitute for a system of social morality like those in eastern cultures of old."

      Yeah, Atilla the hun was a real sweetheart.

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
    4. Re:Good idea. by Anonymous Coward · · Score: 1, Funny

      Too boring. You need to discover the joys of leverage and stochastic outcomes. Both make the whole gig far more exciting.

  2. Computational Bureaucracy??? by flajann · · Score: 4, Funny

    I love Python and I would hate to see it abused this way.

    1. Re:Computational Bureaucracy??? by ron-l-j · · Score: 3, Funny

      Please do not teach any lawyers anything about Python. What is left in readability would be destroyed.And they would go on to other languages like Perl, Now that's a lawyers language :D We will have to make a new language for them call black and white. Where any gray terminology is a syntax error.

  3. Re:its a step in the right direction by Monkeedude1212 · · Score: 3, Funny

    Well, Yeah, but to make a dollar, the code is just

    Print "$1.00"

  4. Rule 1291.3120-b-Clause 32 Section 1.1 by cosm · · Score: 3, Funny

    Occam's Razer does not apply to matters of finance. Ever.

    --
    'We are trying to prove ourselves wrong as quickly as possible, because only in that way can we find progress.' RPF
  5. Re:Fantastic! by abigor · · Score: 2, Funny

    Hmm, personal ads written in Python...now there's an idea.

  6. Re:Fantastic! by Areyoukiddingme · · Score: 4, Funny

    Pass your object to her method and see if it executes...?

  7. Trade Secrets by CoffeeDog · · Score: 2, Funny

    I can see it already, the financial institutions will all cry "but these magical formulas are what makes us money and if we make them available our competitors will be able to use them too"! And of course they would also scramble to hire some of the winners of the Underhanded C Contest: http://underhanded.xcott.com/

  8. No OOP by Cryacin · · Score: 4, Funny

    Just remember that one instance of the class of person may never touch another instance of the class of person's privates. You need to use protected for that.

    --
    Science advances one funeral at a time- Max Planck
    1. Re:No OOP by spazdor · · Score: 3, Funny

      Well, depending on the language, sometimes you can shortcut access to the other person's privates using 'friend' functions.

      --
      DRM: Terminator crops for your mind!
  9. bad idea by fred911 · · Score: 2, Funny

    The Street has always been full of sharks, now you want to allow snakes?

    --
    09 F9 11 02 9D 74 E3 5B - D8 41 56 C5 63 56 88 C0 45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  10. Cool a new job for me by nedlohs · · Score: 2, Funny

    def getPerformance(self, assumptions):
            """Return performance estimates.

            Arguments:
                    assumptions: dict, for keys see spec #54
            Returns:
                    How much money you will make
            """
            # BUG 91423: was sometimes giving poor results
            # workaround fix is to ignore assumptions.
            return "Millions and millions"

  11. Re:its a step in the right direction by fm6 · · Score: 2, Funny

    Whitespace and brainfuck are too damn elegant.Give me a properly obfuscated language like Intercal.

    http://www.ofb.net/~jlm/intercal.html

  12. Re:Good Idea by matrim99 · · Score: 3, Funny

    In this case, one could say "The devil is in the indentation."

    --
    Right. No, your other right. No, the other other right.
  13. More appropraite Legalese by thoughtspace · · Score: 4, Funny

    > cat test.legalese

    The said variable 'i' hereafter referred to as "i" shall be a variable and not of unvarying or constant except for the purposes of using the said variable within a clausal computation and shall be initially equated to 1 (one) neither less nor more and "i" shall be displayed to a third party within visual distance from the visual display device but not beyond unless further provision is granted and provided by the creator of the said work. These courses of action shall be repeated for 10 (ten) times neither more nor less withstanding any systemic error which may cause the premature termination of the said operations and includes the increment of "i" by 1 (one) in a positive monotonic uniform manner performed prior to each display to the visual display device. Upon termination of the aforementioned operational sequence the operations shall cease until recommenced upon instruction of the operator.

    > glegalese test.legalese
    > a.out
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    >

  14. Regulators don't know Comp. Languages by failedlogic · · Score: 2, Funny

    Keep in mind people don't like computers, programs, math or finance. You have to consider that. So I've gone on Wikipedia and did a search on a computer language that produces *minimal* code.

    I briefly glanced only at the first sentence from the following page (http://en.wikipedia.org/wiki/Brainfuck) and trimmed the first sentence for length: "The brainfuck programming language is ... noted for its extreme minimalism.". See, this is what people want, it keeps things simple.

  15. Re:Ugh! by jc42 · · Score: 2, Funny

    Of course I suppose that to most lawyers, any programming language will look like cuneiform anyway.

    This could be viewed as payback for what the legal system did to software by allowing software patents. Such patents are written in legalese, and don't require a "working model", i.e., a runnable implementation in some programming language. So it's impossible for software developers to read the patents and understand whether their own code is a patent violation. We can only determine whether we're violating a patent by "asking the court system", a method that takes years and millions of dollars, and is thus inaccessible to anyone but governments and the largest corporations.

    From a software geek's viewpoint, it's fun to think of the reverse system, in which programmers must be hired to determine the actual meaning of a new law, and the programmers do this by writing the tests in a form incomprehensible to lawyers.

    I wouldn't bet any money on such a change actually being implemented in our lifetime. Remember that laws are written and voted on by legislators, who are overwhelmingly lawyers. Very few software developers have been elected to any legislative bodies anywhere.

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.