TastyWorks icon indicating copy to clipboard operation
TastyWorks copied to clipboard

How should I send an order to buy/sell the underlying instead of the option leg?

Open rafael-trevisan opened this issue 2 years ago • 1 comments

Hello folks,

If I wanted to send an order to buy or sell the underlying or the stock instead of the options, what would be the parameters for the send method?

https://github.com/tylerfloyd/TastyWorks/blob/cf319b9a4424c63773048477a60f9c05ffefcc5f/lib/executeOrder.js#L18

rafael-trevisan avatar Apr 16 '22 14:04 rafael-trevisan

Also, is there any parameter with the send method that would allow to send the order with the "Mid" price directly?

rafael-trevisan avatar Apr 16 '22 14:04 rafael-trevisan