Development Guides

Trade Block Eclipse Portfolio

The endpoint { PUT /api/v2/Portfolio/Portfolios/action/setPortfolioTradeBlock } – Accepts an array of portfolio.id and doNotTrade. The call to Eclipse will toggle trade blocked on the portfolio and will sync to Orion Connect.

id {INT}– needs to be the id from the Eclipse portfolio table.

doNotBuySell {BOOL} – true will trade block the portfolio and false will unblock the portfolio

Request body:
[
  {
    "id": 1,
    "doNotTrade": true
  },
  {
    "id": 2,
    "doNotTrade": false
  },
  {
    "id": 3,
    "doNotTrade": true
  }
]