Closed sunglim closed 1 year ago
Done.
Log messages can be sent to telegram by passing telegram token and chat id.
go run main.go -koreainvestment_url=<your korea investment server URL> -koreainvestment_appkey=<your korea invesment app key> \
-koreainvestment_appsecret=<your korea invesment app secret> -koreainvestment_account=<your account> -telegram_chat_id=<telegram chat id> -telegram_token=<telegram token>
Need a module to send messages to telegram. It's necessary to send messages when important events are made. for example, an order is made.