- Forums
- Help
- The coin circle asked a new question
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
- This can't be a total drawdown, is it a platform issue?
- Newcomers seeking help, the problem of buying and selling Binance contracts?
- js cannot use setInterval?
- Which guy has the ability to make an exchange a universal protocol plugin, pay for it?
- Mino Violent Martin is looking for a distributor for the entire network
- Technical problems, emergency call, operation fails after a few days
- The FTX platform is set to hang orders or to settle at the market price.
- Okay, the contract can't be ordered, the balance is not enough, but the account has enough balance, what's the problem?
- Please ask how Binance can suspend a bill in a single transaction at a limited price in an instant?
- I've been trying to write a strategy to eat the effects of Bitcoin on Coinbase.
- Our department has a large number of 100,000 U-level high-quality customers, take the cooperative win-win commission sharing model, welcome the creators of high-quality trend strategy consultation and talk
- Ask God, how did the Binance U-Byte contract get even without the swap interface?
- Re-testing using the Binance/OK platform Re-testing has results, using Binance futures/OK futures Re-testing has no results ((showing error in the following direction, same source code)
- The problem of the binance review
- python: What is the mechanism of sleep, why do you add sleep to each cycle, and how long do you need to sleep each time
- My language moneytot shows problems
- The big reveal of how Martin was profitable
- Error: Variety switching failed, billing currency cannot switch to ETH_BTC
- Strategy writing skills
- Manual opening, mobile stop and stop loss executed by the program, how to write?
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?