Sway Charts API Documentation
  • REST API Specification
    • Getting Started
      • Introduction
      • Errors
      • API Versioning
      • Conditional Requests & Updates
      • Entity Versioning
      • Data Types and Formats
      • Rate Limits & Throttling
    • Authentication & Authorization
      • HMAC Authentication
      • POST Create Session Token
      • POST Ping
      • POST Logout
    • Trading
      • POST Place Order
      • PUT Modify Order
      • DELETE Cancel Order
    • Reference Data
      • GET List Instruments
      • List Instrument Details
    • Users and Accounts
      • GET Get Users
      • GET List Account Portfolio
      • GET List Open Positions
      • GET List Open Orders
      • GET List Cash Transfers
      • GET POST List Orders
      • GET List Account Metrics
      • GET List Account Events
    • Market Data
      • POST Request Market Data
    • Conversion Rates
      • POST Get Conversion Rates
    • Cash Transaction
      • Single Order Request
      • Order Group Request
      • Order Response
      • Instrument
      • Instrument Details
      • Trading Session
      • Limit Value
      • Margin Rate
      • Margin Tier
      • User Details
      • Account Details
      • Account Portfolio
      • Balance
      • Position
      • Order
      • Order Leg
      • Execution
      • Cash Transfer
      • Historic Order List
      • Account Metrics
      • Position Metrics
      • Currency Metrics
      • Account Event
      • Market Data Request
      • Market Data Event Type
      • Market Data List
      • Quote
      • Candle
      • Conversion Rate
    • Revision History
Powered by GitBook
On this page
  1. REST API Specification

Cash Transaction

Represents cash transactions related to various activities in the system: balance deposits / withdrawals, cash settlements etc.

Field
Value
Type

account

Unique code of the account this transaction belongs to

transactionCode

Unique string code of the transaction

orderCode

Internal unique string code of an order chain in the system. Absent if this transaction is not related to an order.

String, required

tradeCode

String, optional

version

Numeric version of the account to which this transaction relates

clientOrderId

Unique order id assigned by the client during order placement

type

Cash transaction type

String, required

value

Amount of the transaction in account’s base currency for margin accounts and in transaction's currency for cash accounts, signed (positive means profit, negative means loss)

currency

Currency of this transaction

String, required

transactionTime

Timestamp in UTC of this transaction

string Type

One of

  • COMMISSION

  • FINANCING

  • DEPOSIT

  • WITHDRAWAL

  • SETTLEMENT

  • COST

  • EX_DIVIDEND

  • REBATE

  • NEGATIVE_BALANCE_CORRECTION

  • BUST

PreviousPOST Get Conversion RatesNextSingle Order Request

Last updated 1 year ago

, required

, required

Unique string code of the trade. Corresponds to the executionCode of a trade (see )

, required

, required

, required

, required

Account code
Number
Execution
Number
Client Id
Number
Timestamp