lib: fix the index error

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>
algo/acelan: adjust the sell price

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>