3. chatGPT 연동하기(투자 판단)![](https://tistory1.daumcdn.net/tistory_admin/blogs/image/category/new_ico_5.gif)
![](https://tistory1.daumcdn.net/tistory_admin/blogs/image/category/new_ico_5.gif)
·
프로젝트/coin-trading
□ 업비트 API에서 차트 추출 API(json타입으로 추출하기)private static String candleExtract() throws IOException { // 업비트 차트 전달 15일치 일봉데이터 가져오기 OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://api.upbit.com/v1/candles/days?market=KRW-ETH&count=15") .get() .addHeader("accept", "application/json") ..