trades
trades

Create Trade

Create a new trade

post/api/trades

Request

  • Base URL: https://marketcrew.ai (the document declares no server; this is the origin it was published from)
  • URL: https://marketcrew.ai/api/trades
  • Auth: HTTP bearer

Request body

portfolio_idstring uuid required
financial_instrument_idstring uuid required
trade_type'buy' | 'sell' required

Trade types

quantitynumber required
pricenumber required
trade_datestring date required
notesstring nullable
source'manual' | 'order' | 'smart_alert' | 'migration'

Trade source types

source_idstring uuid nullable

Response

Successful Response

successboolean required
messagestring required
dataobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.