further work on implementing reactive trader on ios