Other Environment Details
Windows 10 Pro
PyCharm 2021.3.2 (Community Edition)
Problem
Summary
I cannot retrieve my LTCUSD position. I used my program to open a LTCUSD position successfully, but I cannot close or access the position. The same code works for other positions, e.g. AAPL, so this isn’t a problem with my account or the code I’ve written.
Paper or Live Trading?
Paper
Example Code
api.get_position(‘LTCUSD’) or
api.close_position(‘LTCUSD’) or
api.close_position('LTCUSD, 47)
Update 2: both my LTCUSD and BCHUSD positions show up when I use api.list_positions() so I don’t know why api.get_position('LTCUSD') and api.close_position('LTCUSD') are not working.
@maxks90 The same thing is happening to me. At the moment, I cannot liquidate LTCUSD from the UI or from the API. Earlier in the week, I was not able to liquidate ETHUSD. Something seems to be wrong with the cryptotrading. Might be tied to the various paper trading issues that people have been experiencing yesterday/today.
I’m still getting this error. I can open and close new crypto orders, including LTC and BCH, but I still cannot close my existing LTC and BCH positions. It’s as though the positions do not exist, which is really concerning.