add fetch trade sold data function, but test is invalid