2 User.cancelOffer Method
asdia edited this page 2021-01-06 22:49:09 +08:00
Class: User

Cancels a stock buy order.

Parameters

Name Type Default Value Comment
Order ID number

Returns

String
A string determining whether the stock was successfully cancelled or not.

Example

const user = new User('u-02c977bb-0a6c-4eb2-bfca-5e9101025aaf')
user.cancelOrder(42069)