There's no such thing as 'no market'. Some books are just niche orientated that's all.
Publication is a marathon, not a sprint. Writing the book is only the start.