Portfolios
Create portfolio
REST API
- Introduction
- Authentication
- Assets
- Fee Rates
- Index
- Instruments
- Orders
- Portfolios
- POSTAcquire/repay loan
- POSTCreate portfolio
- POSTEnable/Disable portfolio auto margin mode
- POSTEnable/Disable portfolio cross collateral
- GETGet balance for portfolio/asset
- GETGet fund transfer limit between portfolios
- GETGet loan info for portfolio/asset
- GETGet portfolio details
- GETGet portfolio margin call status
- GETGet portfolio summary
- GETGet position for portfolio/instrument
- GETGet the open position limits for the portfolio instrument
- GETGet the total open position limit the portfolio
- GETGet user portfolio
- GETList active loans for the portfolio
- GETList all user portfolios
- GETList fills by portfolios
- GETList portfolio balances
- GETList portfolio fee rates
- GETList portfolio fills
- GETList portfolio positions
- GETList the open position limits for all instruments
- PATCHPatch portfolio
- POSTPreview loan update
- POSTSet portfolio margin override
- POSTTransfer funds between portfolios
- POSTTransfer positions between portfolios
- PUTUpdate portfolio
- GETView max loan availability
- POST
- Position Offsets
- Rankings
- Transfers
FIX API
WEBSOCKET FEED
Portfolios
Create portfolio
Copy
Ask AI
PortfoliosService portfoliosService = IntxServiceFactory.createPortfoliosService(client);
CreatePortfolioRequest request = new CreatePortfolioRequest.Builder()
.name("portfolio_name")
.build();
CreatePortfolioResponse response = portfoliosService.createPortfolio(request);
For more information, please visit the INTX Java SDK.
Copy
Ask AI
PortfoliosService portfoliosService = IntxServiceFactory.createPortfoliosService(client);
CreatePortfolioRequest request = new CreatePortfolioRequest.Builder()
.name("portfolio_name")
.build();
CreatePortfolioResponse response = portfoliosService.createPortfolio(request);
For more information, please visit the INTX Java SDK.
Copy
Ask AI
var portfoliosService = new PortfoliosService(client);
var request = new CreatePortfolioRequest(
Name: "portfolio_name",
);
var response = portfoliosService.CreatePortfolio(request);
For more information, please visit the INTX .NET SDK.
Copy
Ask AI
ordersSvc := orders.NewOrdersService(client)
request := &portfolios.CreatePortfolioRequest{
Name: "portfolio_name",
}
response, err := portfoliosSvc.CreatePortfolio(context.Background(), request)
For more information, please visit the INTX Go SDK.
Copy
Ask AI
client = IntxClient()
request = CreatePortfolioRequest(
name="portfolio_name",
)
response = client.create_portfolio(request)
For more information, please visit the INTX Python SDK.
Copy
Ask AI
const portfoliosService = new PortfoliosService(client);
portfoliosService.createPortfolio({
name: 'portfolio_name',
}).then(async (response) => {
console.log('Portfolio Created: ', response);
})
For more information, please visit the INTX TS SDK.
Copy
Ask AI
intxctl create-portfolio --help
For more information, please visit the INTX CLI.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.