A survey on energy trading in smart grid | Synapse