profile
viewpoint

issue commentalexgolec/tda-api

Add documentation about generating news links from headline stream contents

It appears as though most headlines come from DJCNEWS/BENZINGA, which are not publicly available from the URL provided. I believe the "1-" prefix corresponds to "CBSMW" (MarketWatch), in which might be accessible publicly. You would have to store a mapping from STORY_SOURCE to prefix based on the values found via the "Filter by News Source" dropdown on the right of the page: image

There doesn't seem to be any documentation for the NEWS_STORY API Service, so perhaps this is unimplemented on their end, but that would likely be the way to retrieve news content. image

alexgolec

comment created time in 2 months

PR opened jmfernandes/robin_stocks

Implement crypto.get_open_crypto_positions method

There is currently no way to get only open crypto positions.

Stocks have robinhood.account.get_open_stock_positions() Options have robinhod.options.get_open_option_positions(),

However, robinhood.crypto only has method get_crypto_positions() which returns results without any quantity held.

+24 -0

0 comment

1 changed file

pr created time in 2 months

push eventmm0/robin_stocks

Matt Margolin

commit sha bc396c880ef7819f0078d845fbc878883cf6df39

crypto.get_open_crypto_positions method There is currently no way to get only open crypto positions. Stocks have `robinhood.account.get_open_stock_positions()`, options have `robinhod.options.get_open_option_positions()`, however, `robinhood.crypto` only has method `get_crypto_positions()` which returns results without any quantity held.

view details

push time in 2 months

fork mm0/robin_stocks

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at

http://www.robin-stocks.com

fork in 2 months

issue openedlepture/authlib

Httpx integration DeprecationWarning

https://github.com/lepture/authlib/blob/07ddb191a59a7329c90fcc46b066a65730cf8767/authlib/oauth2/client.py#L346

When using the integration httpx_client.oauth2_client, a str body param, should actually be passed as content=body instead of data=body otherwise this DeprecationWarning is output:

https://github.com/encode/httpx/blob/master/httpx/_content.py#L170-L179

created time in 2 months

issue openedencode/httpx

DeprecationWarning - encode_request with str data

https://github.com/encode/httpx/blob/716749e3fd3c99cb47cc20b96def280dcb3c8d16/httpx/_models.py#L1102

When a Request is created where content is None and data is a str a Deprecation Warning is output by this call to _content.encode_request(

httpx/_content.py:179: DeprecationWarning: Use 'content=<...>' to upload raw bytes/text content.

A possible solution would be to change this line to be the following:

            if content is None and not isinstance(data, dict) :
                content = data
                data = None
            headers, stream = encode_request(content, data, files, json)

created time in 2 months

issue openedinfluxdata/influxdb-client-python

Pandas outputs warning when calling dataframe.append in flux_csv_parser._prepare_data_frame

https://github.com/influxdata/influxdb-client-python/blob/922477ff2499165ad2018106ad7cb5a72ddb59d9/influxdb_client/client/flux_csv_parser.py#L190

This method should return :

return self._data_frame.append(_temp_df, sort=True)

Pandas outputs warning when calling dataframe.append in flux_csv_parser._prepare_data_frame().

The output is:

pandas/core/frame.py:6211: FutureWarning: Sorting because non-concatenation axis is not aligned. A future version
of pandas will change to not sort by default.

To accept the future behavior, pass 'sort=False'.

To retain the current behavior and silence the warning, pass 'sort=True'.

Description of the issue can be found here: https://pandas.pydata.org/pandas-docs/stable/whatsnew/v0.23.0.html#concatenation-will-no-longer-sort

created time in 2 months

issue openedinfluxdata/influxdb-client-python

influxdb_client.version() returns empty string

https://github.com/influxdata/influxdb-client-python/blob/922477ff2499165ad2018106ad7cb5a72ddb59d9/influxdb_client/client/influxdb_client.py#L446

version() method returns empty str. Should this be returning the value set in the header X-Influxdb-Build instead?

This is a typical response for this method request: image

created time in 2 months

more