investopedia-trading-api
investopedia-trading-api copied to clipboard
An api, written in Python, for Investopedia's paper trading stock simulator.
Fixed some old html, and now buying and shorting stocks works. Havent checked selling though, as stock market is closed. `ita.get_quote` doesn't work though.
from InvestopediaApi import ita client = ita.Account('[email protected]','notrealpass') status = client.get_portfolio_status() this is what im getting back: Traceback (most recent call last): File "H:/stocks.py", line 2, in client = ita.Account('[email protected]','53471978a') File...
I was trying to use this api, but encountered problems upon logging in. Here is the full error: ```python Traceback (most recent call last): File "/Users/meow/programming/PycharmProjects/testing/Investopedia trading.py", line 7, in...
Is this code still viable, given the fact that Investopedia has implemented a recaptcha on its simulator login page? I'm getting the following error message: > InvestopediaApi.ita.LoginError: Login Error: Invalid...
Dear kirkthaker. Please have a look at my pull request. best regards.
Prevents less descriptive than the desired exception from being thrown than the input it not an int
Hello, For my own usage, i needed to complete the set of tools with functions allowing to cancel open trades [cancel_open_trades()] or close open positions [close_open_positions()]. These functions accept a...
Gain_loss field is not returned when calling get_current_securities() function.
Update details (from StackOverflow) This is a question involving Python, Beautiful Soup, and HTML, as well as the Investopedia API. The first part involved is this block of Python that...
On login through python, this error pops up (credentials blanked out) TimeoutError: Waiting for selector `::-p-xpath(//div[contains(@class,"v-main__wrap")])` failed: Waiting failed: 30000ms exceeded at new WaitTask (file:///Users/roman/PycharmProjects/MaybeInvest/investopedia_simulator_api/node_modules/puppeteer-core/lib/esm/puppeteer/common/WaitTask.js:47:34) at IsolatedWorld.waitForFunction (file:///Users/roman/PycharmProjects/MaybeInvest/investopedia_simulator_api/node_modules/puppeteer-core/lib/esm/puppeteer/api/Realm.js:22:26) at PQueryHandler.waitFor...