The coin circle asked a new question

Author: tony233, Created: 2021-08-10 16:05:40, Updated:

Which one of you can help me see where the code is wrong? I wrote it in python to perform a parallax operation when I wanted to hold a store size greater than 0, and then I got an error when I retrieved it, showing this raceback (most recent call last): File, line 1606, in Run File, line 57, in File, line 20, in main TypeError: NoneType object is not subscriptable

amount is equal to 2 If exchange.GetPosition (()) [Amount button] > 0: exchange.Buy ((-1, amount) # buy in blank


More

The grassYou can check out the basic tutorials and detailed documentation of the community's rooftop; basically everything can be solved.

tony233I'm sure most of the problems can be solved by looking at the API documentation.

tony233The problem is solved again... how did the management of the dam not work out...

tony233There is also a comment about how there is not even a shadow of a person in the community, not active, you guys and gals, you see the administrator is the only one who replies............. this online number is fake, a bunch of job advertisements............

tony233So my problem is solved, and I wanted to ask you how do you show the buy and sell on the chart at the end of the retest, and I've seen the retest in the tutorial.

The grassI'm sure you'll be able to answer that if you're familiar with it.

tony233Why do you always have to answer?