A thought experiment and Average Price Script 0.0.2
This is a thought experiment, so I have no idea whether it will make sense eventually. Scrumban is a cross between Scrum and Kanban. It has daily meetings but no fixed length sprints. The flow is continuous.
This seems very boring to me. Let’s add a point system like the one from StackOverflow. Team members can then vote, downvote or accept tasks and associated work. The Hudson build game is based on a similar idea, but it uses automatic scoring. Of course, we want to go further than that and have gradual unlocking of privileges and all sorts of badges.
Average Price Script 0.0.2
I was planning to write a long story about StackOverflow and Stackrumban, but now I decided to await how it all works out. If you are going to make more out of it, remember that I have the copyright! Instead I give the new version of Average Price Script 0.0.1. Now in Python with standard deviation. I used Numpy for the statistics.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
while True: req = urllib2.Request('http://finance.google.com/finance/info?client=ig&q=' + sys.argv) req.add_header('User-agent', 'Mozilla/5.0') response = urllib2.urlopen(req) page = response.read() m = re.search('l_cur" : "(.*)"', page) prices.append( float( m.group(1) ) ) avg = mean( prices ) sigma = std( prices ) devFactor = float(sys.argv) min = avg - devFactor * sigma max = avg + devFactor * sigma timestr = strftime("%d %b %H:%M:%S", gmtime()) print timestr, "Average", avg, numShares(avg), "-Std", min, numShares(min), "+Std", max, numShares(max) time.sleep(int(sys.argv))