added trade files and web socketing