pyrh.dump_session

pyrh.dump_session(robinhood, path=None)

Save the current session parameters to a json file.

Note

This function defaults to caching this information to ~/.robinhood/login.json

Parameters:
  • robinhood (Robinhood) – A Robinhood instance.

  • path (Union[Path, str, None]) – The location to save the file and its name.

Return type:

None