I would like to have a new ERC20 token and one or two smart contracts to do automatic trade with specific cryptos.
Example: I can buy 1 token from the contract in exchange for 1 USDT. I can sell a token for a different price then in the first scenario, say 0.99 USDT, so the contract always "profit". I need to be able to get tokens or USDT out of the contract to any account wallet and I need to be able to add balace of USDT or tokens to the contract from any account wallet I own and decide to use.
Any tips on if andhow this can be achieved and code samples are much appreciated.