Learning a local trading strategy: deep reinforcement learning for grid-scale renewable energy integration