I need a script to record automatically, via a play button, into a csv file the prices of a product. I need to actually apply the script to every product I want and it must record the prices changes with 1 minute or 30 sec frequency.
It must create into the csv a table recording
The csv file can have as name "20-11-2016 futurename prices.csv". If stop and play are executed within the same day, in different hours, it should append values into the pre-existing file of the day. If the day is new and no previous file were created (no previous records), then a new file must be created.