Portfolios
Transfer positions between portfolios
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
Transfer positions between portfolios
API Key Permissions
This endpoint requires an API key with trade
permission.
Copy
Ask AI
PortfoliosService portfoliosService = IntxServiceFactory.createPortfoliosService(client);
TransferPositionsRequest request = new TransferPositionsRequest.Builder()
.from("portfolio_id_1")
.to("portfolio_id_2")
.instrument("BTC-PERP")
.amount("1")
.build();
TransferPositionsResponse response = portfoliosService.transferPositions(request);
For more information, please visit the INTX Java SDK.
Copy
Ask AI
PortfoliosService portfoliosService = IntxServiceFactory.createPortfoliosService(client);
TransferPositionsRequest request = new TransferPositionsRequest.Builder()
.from("portfolio_id_1")
.to("portfolio_id_2")
.instrument("BTC-PERP")
.amount("1")
.build();
TransferPositionsResponse response = portfoliosService.transferPositions(request);
For more information, please visit the INTX Java SDK.
Copy
Ask AI
var portfoliosService = new PortfoliosService(client);
var request = new TransferPositionsRequest(
From: "portfolio_id_1",
To: "portfolio_id_2",
Instrument: "BTC-PERP",
Amount: "1",
);
var response = portfoliosService.TransferPositions(request);
For more information, please visit the INTX .NET SDK.
Copy
Ask AI
client = IntxClient()
request = TransferPositionRequest(
from="portfolio_id_1",
to="portfolio_id_2",
instrument="BTC-PERP",
amount="1",
)
response = client.transfer_positions(request)
For more information, please visit the INTX Python SDK.
Copy
Ask AI
const portfoliosService = new PortfoliosService(client);
portfoliosService.createTransferPosition({
from: 'portfolio_id_1',
to: 'portfolio_id_2',
instrument: 'ETH-PERP',
amount: '1',
}).then(async (response) => {
console.log('Transfer Created: ', response);
})
For more information, please visit the INTX TS SDK.
Was this page helpful?
On this page
Assistant
Responses are generated using AI and may contain mistakes.