Fix error in model
Move the custom spread parameter to local data class
fix error in displaying profit in stats