How economic factors impact trade credit risks and opportunities