Firetron's IsAnyPositionOpen
stableDescription
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!