There are a few different types of forex brokers: market makers, STP brokers, and ECN brokers. When a forex broker executes a trade on behalf of a client, they are said to be "B-Booking" the trade. In this situation, the broker is taking on the risk associated with the client's position. This can be beneficial for the broker, as they can sometimes make a profit on these trades. However, it can also be disadvantageous, as the broker may end up losing money if the trade goes against them.Market makers are typically not as risky for clients because they take positions in both directions (buying and selling), which helps to offset any losses that may occur. STP (Straight Through Processing) and ECN (Electronic Communication Network) brokers offer direct access to other market participants via their networks - this means that there is no middleman or counter party risk when trading through these types of brokers.