Firetron's IsAnyPositionOpen

stable
By Firetron in Miscellaneous Published August 2020 👁 1,111 views 💬 0 comments

Description

Checks if the bot has any open positions.
HaasScript
--  ==========================================================================================================
--    Firetron's IsAnyPositionOpen
--
--    Checks if the bot has any open positions.
--
--    Discord:  @FiretronP75
--    ==========================================================================================================

--  ==============
--    Definition
--  ==============

DefineCommand('IsAnyPositionOpen', 'Checks if the bot has any open positions.')

--  ==========
--    Output
--  ==========

local output = Count(GetAllOpenPositions()) > 0

DefineOutput(BooleanType, output)

0 Comments

Sign in to leave a comment.

No comments yet. Be the first!