- Forums
- Help
- Seven questions to be answered
Seven questions to be answered
Author:
churchillxy, Created: 2022-01-01 22:19:54, Updated:
Happy New Year to all! I have seven questions to answer:
- I've opened multiple positions, how to specify the order placement
- Calculate the float of the total account at a given point in time
- Calculate the profit on an order
- Calculates the float of a specified order at a specific point in time
- How to get a buy, sell price
- How to import numpay in FMZ
- If there are two transaction pairs in the policy, can it be implemented in the hash policy library -> analogue retest hash
Thank you for your reply.
More
- Is there a problem with this retesting function, and it's not what you'd expect?
- Check if the websocket is supported?
- What about the short selling point, the reference value of the entity Yin Biaoyang for one hour?
- High-frequency strategies require milliseconds of the latest contract price, which interface is right?
- Please tell me how to limit the time of ordering to only the maker order?
- Please teach me.
- Problems with retesting
- Futures_OKCoin decrypted failed
- The hard drive is running, the logs are not printed, the logs are from a few days ago.
- Why is the roundup so big?
- Is there a group of futures?
- I'm trying to figure out how to do this, but I can't.
- The exchange.GetTicker
- How do you get the real profit from a placement order?
- Is it supported by apollox?
- Binance, please ask the contract strategy, the last remaining position is not set to a flat because the opening precision is not enough
- If you want to use the code to indicate that the yellow line is higher than the red line, how should you write it?
- Is it necessary to write Sleep in the while loop?
- The real-time currency exchange, the OKEX spot exchange, the procedure fee withdrawal method and the retesting system are different.
- Oh my God, this problem cannot be solved.
churchillxyReceived, thank you.
Inventors quantify - small dreams1, if it is a futures, the positions are combined. Position and order are not one concept.
There are several algorithms for calculating profit and loss. You can compare the total equity gains before and after the trade, asset changes and profit and loss calculations.
3, only the concept of a balanced order, not the concept of a balanced order.
4. For a given transaction, the profit and loss can be calculated by calculating the difference in the price of the open position and the number of transactions.
GetDepth is available for small orders, with buy-sell options.
6. If you are using Python and the host has installed Python and the library you are using; direct import is possible; it is the same as using a regular Python program.
7. Retesting allows you to add multiple exchange objects and set different pairs of transactions. See retesting instructions, API documentation, and tutorials.