python script to create/track stoic index

Discussion in 'Programming' started by betterLate, Jul 25, 2012.

  1. Hi all,

    Is anyone aware of any open source python scripts to create/track a custom stock index?

    Thanks,
    Frank
     
  2. 2rosy

    2rosy

    sure here...

    prices=[34.2,12.43,18.88]
    sum(prices)/len(prices)
     
  3. crmorris

    crmorris

    i've used that, and it works.