Fixed the bug with the list index error on market change.
Fixed the bug with the list index error on market change.

rockwolf/python,rockwolf/python,rockwolf/python,rockwolf/python,rockwolf/python,rockwolf/python