This program is generated by AI for personal uses. It has hardcode and will not work for all possible scenarios.
Try and fix it for your needs.
Converts TradingView exported watchlists (txt/csv file) to Trader Workstation CSV file format. In trader workstation:
- create empty watchlist
- right mouse click into empty space
- search for
import contacts
(they call tickers contacts) - select resulted file from converstion and click import
Usage: go run main.go <input_file> <output_file>
Convert TradingView watchlist to IBKR format
Arguments:
input_file Path to the input TradingView watchlist file
output_file Path to the output IBKR watchlist file