2.30.2
Both trade-block setters now use dedicated Eclipse v2 action endpoints instead of rebuilding a v1 PUT payload from the GET DTO.
set_portfolio_tradeable→PUT /api/v2/Portfolio/Portfolios/action/setPortfolioTradeBlock(#39). Fixes400 primaryTeamId is not of a type(s) numberand no longer risks stripping teams / trading instructions / auto-rebalance settings.set_account_tradeable→PUT /api/v2/Account/Accounts/action/setAccountTradeBlock(#40). The account DTO has nogeneralSection, so the old code was sendingaccountName: null, portfolioId: null. Returned DTO now carriesisDoNotBuySell/isCustodialRestriction.
Both verified live against portfolio 209 / account 636 with no side effects on other fields.