<commit_before># robinhood

This library facilitates automated, commission-free stock trading from Python using Robinhood's API.

Current Features:
* Get stock quote
* Place market buy / sell orders
* Place limit buy / sell orders
* Cancel an open order
* View order details or status
* Retrieve a list of historical orders
* View current user information

To install:

    pip install robinhood


Inspired by Rohonpai's Robinhood framework (https://github.com/rohanpai/Robinhood), benkroop/robinhood fixes bugs while adding new features and additional documentation. 

Instructions for use:
---------------------

Place market order for 3 shares of RJET at best market price:

```python
>>> r = Robinhood(username, password)
>>> r.place_buy_order("RJET", 3, "market")
u'98a8caa4-fddf-df0b-8156-5c474dc01931'
```
Place limit order for 1 share of CSCO at a maximum of $28.42
```python
>>> r.place_buy_order("CSCO", 1, "limit", 28.42)
u'52ad96db-4c01-29c8-9951-a31f883853b5'
```
Cancel an order
```python<commit_msg>Updating docs<commit_after># robinhood

This library facilitates automated, commission-free stock trading from Python using Robinhood's API.

Current Features:
* Get stock quote
* Place market buy / sell orders
* Place limit buy / sell orders
* Cancel an open order
* View order details or status
* Retrieve a list of historical orders
* View current user information

To install:

    pip install robinhood


Inspired by Rohonpai's Robinhood framework (https://github.com/rohanpai/Robinhood), benkroop/robinhood fixes bugs while adding new features and additional documentation. 

Instructions for use:
---------------------

Place market order for 3 shares of RJET at best market price:

```python
>>> r = Robinhood(username, password)
>>> r.place_buy_order("RJET", 3, "market")
u'98a8caa4-fddf-df0b-8156-5c474dc01931'
```
Get a quote AAPL
```python
>>> r.quote_price('AAPL')
u'109.2700'
```
Place limit order for 1 share of CSCO at a limit of $28.42 per share
```python
>>> r.place_buy_order("CSCO", 1, "limit", 28.42)
u'52ad96db-4c01-29c8-9951-a31f883853b5'
```
Cancel an order
```python
{'fraction_non_alphanumeric': 0.1182897862232779, 'fraction_numerical': 0.05368171021377672, 'mean_word_length': 4.3861892583120206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 24, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3033304', 'n_tokens_mistral': 762, 'n_tokens_neox': 674, 'n_words': 239}