In forex trading, the specific value of a trader's account below which the liquidation of the trader's positions is automatically triggered and executed at the best available exchange rate at the time.
The liquidation level is expressed as a percentage value of assets.
There are two main account types: cash accounts and margin accounts.
A cash account only allows an investor to purchase securities up to the amount of the cash held in the account.
This is not the same as its debts being discharged, as happens when an individual files for Chapter 7.
The debts still exist in theory, at least until the statute of limitations has expired, but there is no debtor to pay them, so they must be written off in practice.
When the equity of a margin account falls below the liquidation margin level requirement, the broker may automatically close any open positions in the account.Assets are distributed based on the priority of various parties’ claims, with a trustee appointed by the Department of Justice overseeing the process.The most senior claims belong to secured creditors, who have collateral on loans to the business.I just don't see how order_target(stock, 0) should be doing anything but closing out positions. I just found out the reason - a stupid mistake: forget to reset the list before creating the sell_pos.In any case, thank you so much for your patient and trick!