1. Portfolios
MeroSamriddhi
  • Auth
    • Auth
      • login
      • loginWithGoogle
      • loginWithApple
      • loginWithFacebook
      • register
      • changePassword
      • me
      • updateMe
      • addProfilePicture
      • startEmailVerification
      • validateEmailVerification
      • startPhoneVerification
      • validatePhoneVerification
      • initConnectEmail
      • verifyConnectEmail
      • connectGoogle
      • connectApple
      • connectFacebook
      • disconnectProvider
      • appleCallback
      • refreshToken
      • logout
      • logoutAll
      • sendForgotPasswordOtp
      • validateForgotPasswordOtp
      • changePasswordWithOtp
      • passkeyRegisterBegin
      • passkeyRegisterFinish
      • passkeyLoginBegin
      • passkeyLoginFinish
      • listPasskeyCredentials
      • deletePasskeyCredential
    • Feedback
      • createFeedback
    • Payments
      • getPackages
      • initiatePayment
      • handlePaymentCallback
      • addSubscriptionMonths
    • getUserBalance
  • Stocks
    • Portfolios
      • getPortfolios
        GET
      • createPortfolio
        POST
      • resetPortfolio
        POST
      • getPortfolio
        GET
      • updatePortfolio
        PUT
      • deletePortfolio
        DELETE
      • getPortfolioTrades
        GET
      • getPortfolioEmailImports
        GET
      • getPortfolioItems
        GET
      • addTrade
        POST
      • addTrades
        POST
      • importTradesFromEmail
        POST
      • getPortfolioItem
        GET
      • deletePortfolioItem
        DELETE
      • updatePortfolioItemTarget
        POST
      • getPortfolioItemTrades
        GET
      • getPortfolioItemTrade
        GET
      • updatePortfolioItemTrade
        PATCH
      • deletePortfolioItemTrade
        DELETE
    • Tickers
      • getTickers
      • createTicker
      • getTicker
      • deleteTicker
    • Watchlists
      • getWatchlists
      • createWatchlist
      • getWatchlist
      • updateWatchlist
      • deleteWatchlist
      • getWatchlistItem
      • deleteWatchlistItem
      • getWatchlistItems
      • addWatchlistItem
    • Layouts
      • getLayouts
      • createLayout
      • getLayout
      • updateLayout
      • deleteLayout
      • getWindows
      • createWindow
      • getWindow
      • updateWindow
      • deleteWindow
    • Trades
      • getTrades
    • Performance
      • getPerformance
      • getPerformance
      • getPortfolioPerformance
      • getPortfolioPerformance
      • getPortfolioItemPerformance
      • getPortfolioItemPerformance
    • Settings
      • getSettings
      • updateSettings
    • FloorsheetAnalytics
      • getFloorsheet
      • getMarketOverview
      • getStockBrokerAnalysis
      • getBrokerAnalysis
      • getStockFlow
      • triggerFloorsheetIngest
      • triggerCompute
      • bulkSaveEntries
    • Alerts
      • getAlerts
      • createAlert
      • alertHeartbeat
      • getAlert
      • updateAlert
      • deleteAlert
    • Notifications
      • registerFcmToken
      • unregisterFcmToken
  • Samriddhi
    • Utilities
      • processScreenshots
      • getExchangeRates
    • Category
      • getCategories
      • createCategory
      • getCategory
      • updateCategory
      • deleteCategory
    • Bank
      • getBanks
      • searchBanks
    • Account
      • createAccount
      • getAccounts
      • getAccount
      • updateAccount
      • deleteAccount
      • getAccountTransactions
      • createAccountTransaction
      • getAccountTransaction
      • updateAccountTransaction
      • deleteAccountTransaction
    • Transactions
      • getTransactions
    • Analytics
      • getReport
    • ScheduledPayment
      • getScheduledPayments
      • createScheduledPayment
      • getScheduledPayment
      • updateScheduledPayment
      • deleteScheduledPayment
    • Jewellery
      • getJewelleryRate
      • getJewelleryReport
      • createJewelleryTransaction
      • getJewelleryTransactions
      • getJewelleryTransaction
      • updateJewelleryTransaction
      • deleteJewelleryTransaction
  • Analytics
    • getBudget
  • Schemas
    • Schemas
      • BankAccount
      • TickerType
      • NewBankAccount
      • InterestConfig
      • NewInvestment
      • InvestmentType
      • Loan
      • InvestmentOption
      • Investment
      • BankAccountType
    • AuthUser
    • PaginationMetadata
    • OAuthCredential
    • Bank
    • OAuthProvider
    • Account
    • TickerListingKind
    • PasskeyChallengeType
    • Ticker
    • Location
    • PasskeyCredential
    • Portfolio
    • NewAccount
    • PasskeyChallenge
    • LivePriceItem
    • NewTransaction
    • ReccuringConfig
    • WebAuthnAuthenticatorAttestationResponseJSON
    • NewPortfolio
    • Transaction
    • WebAuthnRegistrationResponseJSON
    • PortfolioType
    • TransactionType
    • AccountBalance
    • WebAuthnAuthenticatorAssertionResponseJSON
    • PaginatedPortfolios
    • PublicKeyCredentialUserEntityJSON
    • PortfolioItem
    • PublicKeyCredentialCreationOptionsJSON
    • HoldingDays
    • TransactionsResult
    • PasskeyRpEntity
    • PortfolioItemTarget
    • RecurringPeriod
    • TransactionFacet
    • ScheduledPaymentsResult
    • PasskeyDescriptorJSON
    • StockTarget
    • PasskeyAlgorithmIdentifier
    • PaginatedPortfolioItems
    • ScheduledPaymentFacet
    • PublicKeyCredentialRequestOptionsJSON
    • NewTrade
    • Category
    • GoogleCrediential
    • Trade
    • NewCategory
    • AccountType
    • AppleCredential
    • PaginatedTrades
    • CategoryType
    • FacebookCredential
    • BudgetTarget
    • DateRangeOptions
    • UserSession
    • TradeType
    • NewBudgetTarget
    • FutureDateRangeOptions
    • AuthToken
    • Watchlist
    • Budget
    • NewUser
    • WatchlistItem
    • CashFlow
    • User
    • TickerAlert
    • BalanceTrend
    • TickerAlertType
    • Balance
    • SubscriptionPackage
    • ExpenseSummary
    • PaymentStatus
    • NewTickerAlert
    • ExpenseSummaryItem
    • PaymentMethod
    • FcmDeviceToken
    • DashboardAnalytics
    • SubscriptionStatus
    • RegisterFcmToken
    • PriceItem
    • PaymentRecord
    • IndexHistory
    • InitiatePaymentRequest
    • SecurityType
    • PaymentInitResponse
    • Security
    • PaymentCallbackRequest
    • Report
    • PaymentCallbackResponse
    • ReportReturn
    • Subscription
    • ReportRight
    • AddSubscriptionMonthsRequest
    • UpdateUser
    • EPS
    • NewScheduledPayment
    • ForgotPasswordRequest
    • FloorSheetResponse
    • ScheduledPayment
    • FloorSheetItem
    • EmailVerification
    • JewelleryPriceBasis
    • Feedback
    • Broker
    • JewelleryRate
    • UserBalance
    • FloorsheetSummary
    • JewelleryType
    • MarketDepth
    • JewelleryTransactionType
    • MarketDepthList
    • JewelleryUnit
    • Layout
    • NewJewelleryTransaction
    • Window
    • JewelleryTransaction
    • WindowType
    • JewelleryReport
    • WindowRect
    • ExchangeRate
    • TradesFacet
    • ExchangeRateResponse
    • TradesResult
    • PortfolioPerformance
    • PortfolioPerformanceEntry
    • PortfolioSettings
    • UpdatePortfolioSettings
    • FloorSheetEntry
    • BrokerStockDaily
    • FloorsheetProcessLog
    • BrokerAccumulationItem
    • StockBrokerAnalysis
    • BrokerAnalysis
    • StockFlowItem
    • StockFlowAnalysis
    • FloorSheetIngestResult
    • PaginatedFloorSheetEntries
    • StockSummaryItem
    • BrokerSummaryItem
    • MarketFloorsheetOverview
    • EmailAttachment
    • EmailTradeImportRequest
    • EmailTradeImportResult
    • EmailImportRecord
    • EmailImportExtractedTrade
    • EmailImportTradeOutcome
    • EmailImportTradeSummary
    • EmailImportRecordSummary
    • PaginatedEmailImportRecords
  1. Portfolios

getPortfolioItemTrades

GET
/portfolios/portfolios/{portfolioId}/items/{itemId}/trades

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://localhost:8100/portfolios/portfolios//items//trades'

Responses

🟢200OK
application/json
Success
Bodyapplication/json

Example
{
    "code": 0,
    "result": [
        {
            "id": "string",
            "uid": "string",
            "createdAt": "string",
            "portfolioId": "string",
            "portfolio": {
                "id": "string",
                "name": "string",
                "uid": "string",
                "type": "INDIVIDUAL",
                "createdAt": "string",
                "updatedAt": "string"
            },
            "portfolioItemId": "string",
            "portfolioItem": {
                "id": "string",
                "uid": "string",
                "createdAt": "string",
                "portfolioId": "string",
                "tickerId": "string",
                "ticker": {
                    "id": "string",
                    "uid": "string",
                    "symbol": "string",
                    "name": "string",
                    "listingKind": "PUBLIC"
                },
                "currentQuantity": 0,
                "soldQuantity": 0,
                "averagePrice": 0,
                "totalInvestment": 0,
                "soldAmount": 0,
                "realizedPL": 0,
                "brokerCommission": 0,
                "capitalGainTax": 0,
                "dpFee": 0,
                "sebonCommission": 0,
                "updatedAt": "string",
                "target": {
                    "stopLossTarget": {
                        "price": 0,
                        "amount": 0,
                        "percentage": 0,
                        "alertId": "string"
                    },
                    "profitTarget": {
                        "price": 0,
                        "amount": 0,
                        "percentage": 0,
                        "alertId": "string"
                    }
                },
                "holdingDays": [
                    {
                        "date": "string",
                        "quantity": 0
                    }
                ],
                "version": 0
            },
            "tradeDate": "string",
            "type": "IPO",
            "quantity": 0,
            "price": 0,
            "totalTradeAmount": 0,
            "brokerCommissionPercentage": 0,
            "brokerCommission": 0,
            "capitalGainTax": 0,
            "capitalGainTaxPercentage": 0,
            "dpFee": 0,
            "sebonCommission": 0,
            "netAmount": 0,
            "netPrice": 0,
            "remarks": "string"
        }
    ],
    "error": "string"
}
Modified at 2026-06-24 12:21:25
Previous
updatePortfolioItemTarget
Next
getPortfolioItemTrade
Built with