Trade
API Reference / privatefolio-backend / interfaces / Trade
Defined in: interfaces.ts:273
Properties
Section titled “Properties”amount
Section titled “amount”amount:
number
Defined in: interfaces.ts:274
assetId
Section titled “assetId”assetId:
string
Defined in: interfaces.ts:275
auditLogIds?
Section titled “auditLogIds?”
optionalauditLogIds:string[]
Defined in: interfaces.ts:276
balance
Section titled “balance”balance:
number
Defined in: interfaces.ts:277
closedAt?
Section titled “closedAt?”
optionalclosedAt:number
Defined in: interfaces.ts:278
cost:
TradeCost[]
Defined in: interfaces.ts:279
createdAt
Section titled “createdAt”createdAt:
number
Defined in: interfaces.ts:280
deposits
Section titled “deposits”deposits:
TradeValue[]
Defined in: interfaces.ts:281
duration?
Section titled “duration?”
optionalduration:number
Defined in: interfaces.ts:282
fees:
TradeValue[]
Defined in: interfaces.ts:283
id:
string
Defined in: interfaces.ts:284
proceeds
Section titled “proceeds”proceeds:
TradeProceeds[]
Defined in: interfaces.ts:285
optionaltags:number[]
Defined in: interfaces.ts:286
tradeNumber
Section titled “tradeNumber”tradeNumber:
number
Defined in: interfaces.ts:287
tradeStatus
Section titled “tradeStatus”tradeStatus:
"open"|"closed"
Defined in: interfaces.ts:288
tradeType
Section titled “tradeType”tradeType:
"Long"|"Short"
Defined in: interfaces.ts:289
txIds?
Section titled “txIds?”
optionaltxIds:string[]
Defined in: interfaces.ts:290