Skip to content
Browse files

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

…uct_id']
  • Loading branch information...
1 parent ac23221 commit b9674c434131e417af3ebb706c1813798785ecd3 @markstreich markstreich committed Jul 12, 2012
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) {

0 comments on commit b9674c4

Please sign in to comment.
Something went wrong with that request. Please try again.