IBPY basic TEMPLATE to get stock quote and place bracket order then repeat
34 views
Skip to first unread message
Ross Demtschyna
unread,
Oct 7, 2016, 9:55:46 PM10/7/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to IbPy Discuss
Hello,
I'm new to IBPY and have a simple logic strategy but are struggling to find a simple template to do the following.
Any help would be much appreciated.
I simply want to get the current stock quote of say google and pass this to a variable for logic processing.
Basic steps are ===== Go get current ask price. Pass this to a variable Do some logic testing to get my Bid price, my Profit Taker and Stop Loss Place a the bracket order. Watch Bracket order - if the Profit taker or Stop Loss executes, we loop through again.