Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation method name #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ Create an order for the specified trading pair.
_Create an order to sell 5 GAS for NEO at the specified price:_

```javascript
kc.createWithdrawal({
kc.createOrder({
pair: 'GAS-NEO',
amount: 5,
price: 0.608004
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ class Kucoin {
* @param {{pair: string, amount: number, price: number, type: string}} params Order details including the trading pair, amount, price, and type of order.
* @return {Promise} An object containing the API response.
* @example <caption>Create an order to sell 5 GAS for NEO at the specified price:</caption>
* kc.createWithdrawal({
* kc.createOrder({
* pair: 'GAS-NEO',
* amount: 5,
* price: 0.608004
Expand Down