一个存货模型价格模拟
摘要:
import numpy as np import math def PriceProcess(sigma,dt, s0=100, total_time=1): prices = s0* (1 + np.cumsum(sigma * np.sqrt(dt) * np.random.choice([1 阅读全文
posted @ 2024-10-16 17:20 金凯旋 阅读(16) 评论(0) 推荐(0)
posted @ 2024-10-16 17:20 金凯旋 阅读(16) 评论(0) 推荐(0)
posted @ 2024-10-16 14:42 金凯旋 阅读(107) 评论(0) 推荐(0)