How to train GPT based on whole book?

Hello,

So I want to build a GPT Model using which I can do my stock market research, so i want it to first learn about stock market-specific market research techniquesl.

Can anyone please help?