Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/MaxxRK/vanguard-api
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxrk committed Jun 21, 2024
2 parents ccf44a6 + fc3bd8e commit f0d3cbc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vanguard/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,11 @@ def place_order(
"xpath=//label[text()='Sell']"
)
sell_btn.click()
sleep(1)
quantity_box = self.session.page.wait_for_selector(
"//input[@placeholder='Enter Shares']"
)
quantity_box.fill("")
quantity_box.type(str(quantity))
sleep(1)
if price_type == "MARKET":
self.session.page.wait_for_selector("//label[text()='Market']").click()
elif price_type == "LIMIT":
Expand Down

0 comments on commit f0d3cbc

Please sign in to comment.