code: function placeOrder(account, order, secret, options, callback) {
    var transaction = createOrderTransaction(account, order);
    var converter = TxToRestConverter.parseSubmitOrderFromTx;
    transact(transaction, this, secret, options, converter, callback);
  }
docs: Submit an order to the ripple network
  
  More information about order flags can be found at
  https://ripple.com/build/transactions/#offercreate-flags
  
  @body
  @param {Order} request.body.order
  - Object that holds information about the order
  @param {String "buy"|"sell"} request.body.order.type
  - Choose whether to submit a buy or sell order
  @param {Boolean} [request.body.order.passive]
  - Set whether order is passive
  @param {Boolean} [request.body.order.immediate_or_cancel]
  - Set whether order is immediate or cancel
  @param {Boolean} [request.body.order.fill_or_kill]
  - Set whether order is fill or kill
  @param {String} request.body.order.taker_gets
  - Amount of a currency the taker receives for consuming this order
  @param {String} request.body.order.taker_pays
  - Amount of a currency the taker must pay for consuming this order
  @param {String} request.body.secret
  - YOUR secret key. Do NOT submit to an unknown ripple-rest server
  
  @query
  @param {String "true"|"false"} request.query.validated
  - used to force request to wait until rippled has finished
  - validating the submitted transaction