OKX API Scrypts that automate manual work
- For users who repeatedly need to collect their airdrops from sub-accounts to Main.
- Or users who need to quickly sell their airdrops from multiple accounts.
- Generate an API Key for Main account. Be sure to add Read and Trade permissions. Regarding the Withdraw permission, I'm not sure, I think it is not needed for Internal transfers(Tested with the Withdraw).
- Insert your keys into the accounts.txt file. If you are using a proxy, add them to the same file.
- Configure the scripts in the config.py file.
- Run the script and test the bot's functionality with a balance request operation.
The script can initialize multiple accounts. Each account is specified on a new line. Enter your account details in the exact order as specified in the template.
account_id is the account identifier; enter any string. It will be displayed in the script logs.
- Show balances of the main account (Funding, Trading) and sub-accounts (Funding).
- Transfer funds from all sub-accounts to the main account (Funding, Trading).
- Execute Buy/Sell trade on the token pair.
If you find this project helpful and would like to support its development, consider making a donation:
Arbitrum USDT 0x3E92ac8A955c0CcaA3abE350A7097b4e8aAFB5c5
Your support is greatly appreciated!
Developed by Antiglobalist