Added from_api to ticker to initialize by api call