Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Market buy { account: [ 'This field may not be null.' ] } #102

Open
kalli88 opened this issue Oct 16, 2019 · 0 comments
Open

Market buy { account: [ 'This field may not be null.' ] } #102

kalli88 opened this issue Oct 16, 2019 · 0 comments

Comments

@kalli88
Copy link

kalli88 commented Oct 16, 2019

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);
  }
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant