Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

order entry examples used details['product'] instead of details['prod…

…uct_id']
  • Loading branch information...
commit b9674c434131e417af3ebb706c1813798785ecd3 1 parent ac23221
@markstreich markstreich authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -61,7 +61,7 @@ var details = {
side: 0, // 0 for buy, 1 for sell
size: 0.0, // amount
price: 0.0, // price
- product: 1, // exchange specific product id
+ product_id: 1, // exchange specific product id
}
trader.new_order(details, function(response) {
@@ -70,7 +70,7 @@ trader.new_order(details, function(response) {
// cancel an order
var details = {
order_id: '', // exchange specified order id
- product: 1, // exchange specific product
+ product_id: 1, // exchange specific product id
}
trader.cancel_order = function(details, response) {
Please sign in to comment.
Something went wrong with that request. Please try again.