add prototype

stock/index
log/index