pub fn xchangeit( amount: Option<&str>, from: Option<&str>, to: Option<&str>) -> Result<(), Box<dyn Error>>