Thing that helps me transfer my TRX simultaneosely from one account to another
Create a .env file in directory and add following variables here
API_1=
API_2=
API_3=
WALLET_ADDRESS_A=
WALLET_ADDRESS_B=
PRIVATE_KEY_B_STR=
THRESHOLD_TRX=5
FEE_TRX=1
CHECK_FREQUENCY=10