When miqrah says don't treat your guests as strangers it is saying don't allow market values to govern policy.
Strangers are aliens. We transact with aliens only with respect to those things that are alienable. When miqrah repeatedly says to treat the non-Israelite as one of your own it is saying not to transact in terms of alienability.
In the covenantal social order resident strangers are treated either as members or as consecrated others but not as aliens.