If I'm understanding you correctly, maybe:
var dto = (from ma in context.MainAccounts
let hasTrades = (from ac in context.Activities where ac.AccountId == ma.AccountId select ac).Any()
select new MainAccountDto{ HasTrades = hasTrades }).Tolist();