Does a margin trade influence the order book?
It does influence the order book. Margin trading is a 2-step process : 


you borrow currency A. This has no influence on the order book
You then sell currency A to buy currency B. This influences the order book.