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:

  1. I've opened multiple positions, how to specify the order placement
  2. Calculate the float of the total account at a given point in time
  3. Calculate the profit on an order
  4. Calculates the float of a specified order at a specific point in time
  5. How to get a buy, sell price
  6. How to import numpay in FMZ
  7. 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

churchillxyReceived, thank you.

The Little Dream1, 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.