170x1.5 = 255g Protein
170x.5 = 85g Fat.
300g carbs before during and post training
That totals 2985 calories.
That's where I'd start and see how you can get it down and how you respond to it.
I prefer to get carbs from more nutrition rich food like yams and fruits , fast from eggs , olive and avocado oil and multiple protein