Development Guides

Trade Actions

Each Trade has an Action, like Buy or Sell, that is generally passed around in API JSON as an Id value. Occasionally, you will see the string value in some areas. Those are defined as follows:

IdValue
1Buy
2Sell
3Journal In*
4Journal Out*
* Journal In/Journal Out trades are typically generated within the APIs, you won’t have to manually provide those types of trades to our APIs.