Commit ac8b34ea authored by AVANZINI Martin's avatar AVANZINI Martin
Browse files

new experiments

parent 13d6ab12
# Variation of linear/trader.imp
def trader():
var price, min, nShares, maxShares
while price > min and min >= 0:
prob (1,3):
price = price + 1
else:
price = price - 1
nShares = rand(maxShares)
while nShares > 0:
nShares = nShares - 1
tick price
This diff is collapsed.
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment