It is impossible ascertain the exact time of origin of our astrology. Even the most famous historians differ wildly, from 1200 BC to 2500 BC while trying to fix our Vedic period. A lot of them, especially the westerners, still study India based on the Mahenjadaro and Harappan discoveries, which were discovered in the 1920’s!! Several archeological discoveries of recent times date our culture to 7500 BC, making it the ancient most civilization in the world. Our astrology has details of the horoscopes of Lord Krishna, Lord Rama and many other ancient Indian kings and queens, recorded thousands of years ago. The Bhishma Parva and Udyoga Parva chapters of Mahabharata mention many astrological descriptions and omens just before the Mahabharata war. It also describes a period of draught with several planetary combinations. There is also a very clear reference about two eclipses, a solar eclipse and a lunar eclipse occurring, creating a rare 13 day lunar fortnight. Available scientific research data shows that the Mahabharata war must have occurred either in 3129 BC or 2559 BC. According to the Hindu Panchangas, maintained from ages, Kaliyuga era is counted from February 17/18 midnight 3102 BC. Hindu epics like Mahabharata and Ramayana have been written off as myths by the western historians. However the recent discovery of the submerged ancient city Dwaraka, (the site of the legendary city of Lord Krishna, which got submerged in the sea after the death of Lord Krishna), led by Dr. S.R. Rao of the Marine Archaeology Unit of the National Institute of Oceanography of India lends a lot of credence to our mythology. Various texts attribute the origin of Indian astrology to various gods and Rishis. It is futile to ascertain who was the originator. The most popularly followed astrological classics today are the ones written by Rishis like Parashara, Varahamihira, Garga, Jaimini and their followers. People in those days had no satellites or telescopes and yet the planetary positions and their motions recorded by them are as accurate as the planetary positions and degrees recorded today using the space satellites. Our ancient astrologers used their divine intuition to record these planetary movements and their effects on us.
Astrology has a twofold purpose. On one hand it is used as a tool to select the right month the right date and the right time to start various auspicious rites and rituals so that the results are better. On the other hand it is used as a guide to study the destiny of an individual.