Jake0303 / RobinHood-RSI-Trading-Bot

A Robinhood stock trading bot in Python using the RSI indicator https://youtu.be/kSLkRXY3NPQ
206 stars 115 forks source link

Multiple trades active on trading platform. #10

Open Exovel-Productions opened 3 years ago

Exovel-Productions commented 3 years ago

Your code runs every 5 minutes. if the RSI conditions are met. the bot will enter additional orders every 5 minutes. Do you query your rh order status and abort entering a new order until the first one has closed?

Great work ! I'm porting your idea over to Webull.

HaxOh commented 3 years ago

the enteredTrade bool keeps the program from entering more than one trade at a time.

if rsi[len(rsi) - 1] <= 30 and float(key['close_price']) <= currentSupport and not enteredTrade:

Exovel-Productions commented 3 years ago

Do you have any problems with GFV?

On Mon, Sep 14, 2020 at 10:37 AM HaxOh notifications@github.com wrote:

the enteredTrade bool keeps the program from entering more than one trade at a time.

if rsi[len(rsi) - 1] <= 30 and float(key['close_price']) <= currentSupport and not enteredTrade:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jake0303/RobinHood-RSI-Trading-Bot/issues/10#issuecomment-692100504, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ43OBULK7HZ5QMM7H3FK4DSFYTBFANCNFSM4RIOMJXA .

-- Glen Fournier

HaxOh commented 3 years ago

Not on RH, WeBull is stricter about that sort of thing though.

Exovel-Productions commented 3 years ago

I did my first test today but it stopped out....at least that part of the code works...keep me from losing $$ I want to code the MCAD indicator next.

On Tue, Sep 15, 2020 at 9:47 AM HaxOh notifications@github.com wrote:

Not on RH, WeBull is stricter about that sort of thing though.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jake0303/RobinHood-RSI-Trading-Bot/issues/10#issuecomment-692726300, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ43OBUUPDIHMTVB7BF74LLSF5WAXANCNFSM4RIOMJXA .

-- Glen Fournier