Open kalli88 opened 4 years ago
This returns 400 { account: [ 'This field may not be null.' ] }
var options = { type: 'market', quantity: 1, instrument: { symbol: 'AAC', url: 'https://api.robinhood.com/instruments/0d13f0c3-c93d-4044-8f7f-c14f81df13e7/' } }
Robinhood.place_buy_order(options, function(error, response, body){ if(error){ console.error(error); }else{ console.log(body); } });
This returns 400 { account: [ 'This field may not be null.' ] }
var options = { type: 'market', quantity: 1, instrument: { symbol: 'AAC', url: 'https://api.robinhood.com/instruments/0d13f0c3-c93d-4044-8f7f-c14f81df13e7/' } }