vania-janet/multiturn-rag-retrieval-data huggingface dataset:
"Yes there is, it is called a One-Cancels-the-Other Order (OCO). Investopedia defines a OCO order as: Definition of 'One-Cancels-the-Other Order - OCO' A pair of orders stipulating that if one order is executed, then the other order is automatically canceled. A one-cancels-the-other order (OCO) combines a stop order with a limit order on an automated trading platform. When either the stop or limit level is reached and the order executed, the other order will be automatically canceled. Seasoned traders use OCO orders to mitigate risk. I use CMC Markets in Australia, and they allow free conditional and OCO orders either when initially placing a buy order or after already buying a stock. See the Place New Order box below: Once you have selected a stock to buy, the number of shares you want to buy and at what price you can place up to 3 conditional orders. The first condition is a ""Place order if..."" conditional order. Here you can place a condition that your buy order will only be placed onto the market if that condition is met first. Say the stock last traded at $9.80 and you only want to place your order the next day if the stock price moves above the current resistance at $10.00. So you would Place order if Price is at or above $10.00. So if the next day the price moves up to $10 or above your order will be placed onto the market. The next two conditional orders form part of the OCO Orders. The second condition is a ""Stop loss"" conditional order. Here you place the price you want to sell at if the price drops to or past your stop loss price. It will only be placed on to the market if your buy order gets traded. So if you wanted to place your stop loss at $9.00, you would type in 9.00 in the box after ""If at or below ?"" and select if you want a limit or market order. The third condition is a ""Take profit"" conditional order. This allows you to take profits if the stock reaches a certain price.
You would apply this either for an downtrending stock where the price has retracted from or near the trendline or Moving Average, or a ranging stock where price is bouncing off the resistance line. The trade is reinforced if the Stochastic is in or near the overbought and crossing back downwards, volume on the up day is higher than volume on the up days, and the market as a whole is moving down as well. The benefit with this entry is that you are in early so you capture any bearish move down at the open of the next day, such as gaps. The drawbacks are that you need to be in front of your screen before market close to get your price close to the market close and you may get whipsawed if prices reverse at the open of the next day, thus being stopped out with a small loss. As the price moves down you would move your stop loss to just above the high of each day. Alternative Bearish Reversal Entry An alternative, entry would be to wait for after market close and then start your analysis (easier to do after market close than whilst the market is open and less emotions involved). Place a stop sell short order to sell at the open of next trading day just below the low of the bearish red candle. Your stop is placed exactly the same, just above the high of the red bearish candle. The benefits of this alternative entry include you avoid the trade if the price reverses at the open of next day, thus avoiding a potential small loss (in other words you wait for further confirmation on the next trading day), and you avoid trading during market open hours where your emotions can get the better of you. I prefer to do my trading after market close so prefer this alternative. The drawback with this alternative is that you may miss out on bearish news prior to and at the next open, so miss out on some potential profits if prices do gap down at the open. This may also increase your loss on the trade if the prices gaps down then reverses and hits your stop on the same day. However, if you choose this method, then you will just need to incorporate this into your trading plan as potential slippage. You could also trade other candle stick patterns is similar ways.
In order to understand how much you might gain or lose from participating in the futures markets, it is important to first understand the different ways in which the slope of the futures markets can be described. In many of the futures markets there is a possibility of somebody buying a commodity at the spot price and selling a futures contract on it. In order to do this they need to hold the commodity in storage. Most commodities cost money to hold in storage, so the futures price will tend to be above the spot price for these commodities. In the case of stock index futures, the holder receives a potential benefit from holding the stocks in an index. If the futures market is upward sloping compared to the spot price, then it can be called normal. If the futures market is usually downward sloping compared to the spot price then it can be called inverted. If the futures market is high enough above the spot price so that more of the commodity gets stored for the future, then the market can be called in contango. If the futures market is below the point where the commodity can be profitably stored for the future, and the market can be called in backwardation. In many of these cases, there is an implicit cost that the buyer of a future pays in order to hold the contract for certainly time. Your question is how much money you make if the price of gold goes up by a specific amount, or how much money you lose if the price of gold goes down by the same specific amount. The problem is, you do not say whether it is the spot price or the futures price which goes up or down. In most cases it is assumed that the change in the futures price will be similar to the change in the spot price of gold. If the spot price of gold goes up by a small amount, then the futures price of gold will go up by a small amount as well. If the futures price of gold goes up by a small amount, this will also drive the spot price of gold up. Even for these small price changes, the expected futures price change in expected spot price change will not be exactly the same. For larger price changes, there will be more of a difference between the expected spot price change in expected future price change. If the price eventually goes up, then the cost of holding the contract will be subtracted from any future gains.
It might be around $400, for example. But let's say you want to trade this promise to pay before the 20 years is up. Would it be worth anything? Of course it would. It would in fact typically go up in value (barring heavy inflation) until it was worth very close to $1,000 moments before it's value is redeemed. Imagine that this ""promise to pay"" is much like a non-dividend paying stock. Throughout its life it has never paid anyone anything, but over the years it's value goes up. It is because the discounted cash flow of the $1,000 payout can be estimated at almost anytime prior to it's payout."
The obvious thing would happen. 10 shares change owner at the price of $100. A partially still open selling order would remain. Market orders without limits means to buy or sell at the best possible or current price. However, this is not very realistic. Usually there is a spread between the bid and the ask price and the reason is that market makers are acting in between. They would immediately exploit this situation, for example, by placing appropriately limited orders. Orders without limits are not advisable for stocks with low trading activity. Would you buy or sell stuff without caring for the price?
You can do this via many online FOREX brokers. All you need to do is set up and fund an account with them and then trade via their online platform. Some examples of brokers that do this are:
According to Active Equity Management by Zhou and Jain: When a stock pays dividend, the adjusted price in Yahoo makes the following adjustment: Let T be the ex-dividend date (the first date that the buyers of a stock will not receive the dividend) and T-1 be the last trading day before T. All prices before T are adjusted by a multiplier (C_{T-1} - d_T)/C_{T-1}, where C_{T-1} is the close price at T-1 and d_T is the dividend per share. This, of course means that the price before T decreases.
"If markets are efficient they will be unpredictable.  If all past information is already priced into a stock then movement will only occur when new information is introduced.  Since no one can predict future events stocks will move in an unpredictable way.  If markets are inefficient in the short term, people should be able to figure out the long-term price movements.  This doesn't seem to be the case.  This is why the authoritative book on market efficiency is called ""A **Random** Walk Down Wall Street""."
Depending on what currency the price is quoted in and is originally sold, currency fluctuation can also carry over onto the price in your currency. An example for that would be bitcoin prices which sometimes show heavy ups and downs in one currency, but seem totally stable in another and can be tracked back to changed exchange rates between currencies. Also like others have said, prices on stocks are not actually fixed. You can offer to buy or sell at any price. Only if 2 people want to buy or sell for the same price there will actually be a transaction.
If you are buying your order will be placed in Bid list. If you are selling your order will be placed in the Ask list. The highest Bid price will be placed at the top of the Bid list and the lowest Ask price will be placed at the top of the Ask list. When a Bid and Ask price are matched a transaction will take place and it will the last traded price. If you are looking to buy at a lower price, say $155.01, your Bid price will be placed 3rd in the Bid list, and unless the Ask prices fall to that level, your order will remain in the list until it trades, it expires or you cancel it. If prices don't fall to you Bid price you will not get a trade. If you wanted your trade to go through you could either place a limit buy order closer to the lowest Ask price (however this is still not a certainty), or to be certain place a market buy order which will trade at the lowest Ask price.
"The correct answer to this question is: the person who the short sells the stock to. Here's why this is the case. Say we have A, who owns the stock and lends it to B, who then sells it short to C. After this the price drops and B buys the stock back from D and returns it to A. The outcome for A is neutral. Typically stock that is sold short must be held in a margin account; the broker can borrow the shares from A, collect interest from B, and A has no idea this is going on, because the shares are held in a street name (the brokerage's name) and not A. If A decides during this period to sell, the transaction will occur immediately, and the brokerage must shuffle things around so the shares can be delivered. If this is going to be difficult then the cost for borrowing shares becomes very high. The outcome for B is obviously a profit: they sold high first and bought (back) low afterwards. This leaves either C or D as having lost this money. Why isn't it D? One way of looking at this is that the profit to B comes from the difference in the price from selling to C and buying from D. D is sitting on the low end, and thus is not paying out the profit. D bought low, compared to C and this did not lose any money, so C is the only remaining choice. Another way of looking at it is that C actually ""lost"" all the money when purchasing the stock. After all, all the money went directly from C to B. In return, C got some stock with the hope that in the future C could sell it for more than was paid for it. But C literally gave the money to B, so how could anybody else ""pay"" the loss? Another way of looking at it is that C buys a stock which then decreases in value. C is thus now sitting on a loss.
* In the 70's, 80's and early 90's there were pinstriped brokers who took orders over the phone from people who wanted to buy and sell. They had a huge competitive advantage over the rest of the market due to the lack of transparency in the market's order book. Therefore you got screwed every time you wanted to trade, ie the markets were less efficient because transaction cost was high. Transaction cost is = bid-ask spread + how much you get screwed by the market insiders. * In the 90's and early 00's there were automated trading systems that allowed people to conduct trades directly with computers, aka Algorithmic Trading. The markets were more efficient, because spreads became tighter as more people were able to enter the market on this platform (e.g. [Lightspeed](http://lightspeed.com)). The ability for market insiders to screw the general market was lessened because the exclusive access to the market's order book was eroded. Of course some Algorithmic Trading operations had a huge competitive advantage because they had great systems and great people. However it wasn't talked about because those who new about it were making a killing and keeping their mouths shut. * Then in the mid to late 00's there was co-located algorithmic trading on very fast systems, aka HFT, a natural evolution of Algorithmic Trading. Now market insiders (= people with enough resources to field co-located machines and the the engineer/traders to manage them) expanded their competitive advantage by discovering the market's order book (as they are able to see orders in a fraction of a second and then act on those orders). However to retract this natural efficiency in the markets you would need to create some kind of set of rules to even out the playing field. How can that be done? ** Option 1) Transaction tax would just make the markets less efficient by increasing the cost of buying and selling. A generally bad thing because it discourages traders (to put money into stocks), which is of course how the capital markets are supported. ** Option 2) Create rules to ensure everyone sees the same information at the same time and then permit anyone to use whatever technology they want to act on that information, so that the most efficient trading operations win.
On international stock exchanges, they trade Puts and Calls, typically also for currencies. If for example 1 NOK is worth 1 $ now, and you buy Calls for 10000 NOK at 1.05 $ each, and in a year the NOK is worth 1.20 $ (which is what you predict), you can execute the Call, meaning 'buying' the 10000 NOK for the contracted 1.05 $ and selling them for the market price of 1.20 $, netting you 12000 - 10500 = 1500 $. Converting those back to NOK would give you 1250 NOK. Considering that those Calls might cost you maybe 300 NOK, you made 950 NOK. Note that if your prediction is common knowledge, Calls will be appropriately priced (=expensive), and there is little to make on them. And note also that if you were wrong, your Calls are worth less than toilet paper, so you lost the complete 300 NOK you paid for them. [all numbers are completely made up, for illustration purposes] You can make the whole thing easier if you define the raise of the NOK against a specific currency, for example $ or EUR. If you can, you can instead buy Puts for that currency, and you save yourself converting the money twice.
"For any large company, there's a lot of activity, and if you sell at ""market"" your buy or sell will execute in seconds within a penny or two of the real-time ""market"" price.  I often sell at ""limit"" a few cents above market, and those sell within 20 minutes usually.  For much smaller companies, obviously you are beholden to a buyer also wanting that stock, but those are not on major exchanges.  You never see whose buy order you're selling into, that all happens behind the curtain so to speak."
I assume you're talking about a sell order, not a buy order. When you place a limit sell order, your order is guaranteed to be placed at that price or higher.  If the market is currently trading much higher than the price of your sell order, then your mistakenly low limit order will be essentially a market order, and will be filled at  the current bid price. So the only way this is a problem is if you want to place a limit sell that is much higher than the current market, but mistakenly place a limit lower than the current market.
"The SEC reference document (PDF) explains order types in more detail. A fill-or-kill order is neither a market order nor a limit order; instead it's something in between. A market order asks to be filled at the best available price, whatever that price might be when the order gets to the exchange.  Additionally, if there are not enough counterparties to fill the order at the best available price, then part of the order may be filled at a worse price.  This all happens more or less immediately; there's no way to cancel it once it has been placed. A limit order asks to be filled at a particular price, and if no counterparties want to trade at that price right now, then the order will just sit around all day waiting for someone to agree on the price; it can be canceled at any time. A fill-or-kill order asks to be filled at a particular price (like a limit order), but if that price or a better one is not currently available then the order is immediately canceled.  It does not accept a worse price (the way a market order does), nor does it sit around waiting (the way a limit order does).  Since the exchange computes whether to ""fill"" or ""kill"" the order as soon as it is arrives, there's also no way to cancel it (like a market order)."
A limit order is simply an order to buy at a maximum price or sell at a minimum price. For example, if the price is $100 and you want to sell if the price rises to $110, then you can simply put a limit order to sell at $110. The order will be placed in the market and when the price reaches $110 your order will be executed. If the price gaps at the open to $111, then you would end up selling for $111. In other words you will get a minimum of $110 per share. A stop limit order is where you put a stop loss order, which when it gets triggered, will place a limit order in the market for you. For example, you want to limit your losses by placing a stop loss order if the price drops to $90. If you chose a market order with your stop loss as soon as the price hits $90 your stop loss would be triggered and the shares would sell at the next available price, usually at $90, but could be less if the market gaps down past $90. If on the other hand you placed a limit order at $89.50 with your stop loss, when the stop loss order gets triggered at $90 your limit order will be placed into the market to sell at $89.50. So you would get a minimum of $89.50 per share, however, if the market gaps down below $89.50 your order will be placed onto the market but it won't sell, unless the price goes back to or above $89.50. Hope this helps.
Stock price is determined by what's being asked for it, and what's being paid for it. The reported price is either a recent average, or is the last price at which a sale actually took place, depending on which you've asked for. Limit orders are an agreement between you and your brokerage, and have no direct effect on price. When and if their condition is triggered and the transaction takes place, the transaction is what's significant.
Market orders can be reasonably safe when dealing with stocks that are rather liquid and have quite low volatility. But it's important to note that you're trading a large degree of control over your buy / sell price for a small benefit in speed or complexity of entering an order. I always use limit orders as they help me guard against unexpected moves of the stock. Patience and attention to details are good qualities to have as an investor.
"Market orders do not get priority over limit orders.  Time is the only factor that matters in price/time order matching when the order price is the same. For example, suppose the current best available offer for AAPL is $100.01 and the best available bid is $100.00.  Now a limit buy for $100.01 and a market buy arrive at around the same instant.  The matching engine can only receive one order at a time, no matter how close together they arrive. Let's say that by chance the limit buy arrives first.  The engine will check if there's a matching sell at $100.01 and indeed there is and a trade occurs.  This all happens in an instant before the matching engine ever sees the market buy.  Then it moves on to the market buy and processes it accordingly. On the other hand, let's say that by chance the market buy arrives first.  The engine will match it with the best available sell (at $100.01) and a trade occurs.  This all happens in an instant before the matching engine ever sees the limit buy.  Then it moves on to the limit buy and processes it accordingly. So there's never a comparison between the two orders or their ""priorities"" because they never exist in the system at the same time.  The first one to arrive is processed first; the second one to arrive is processed second."
Stop orders and stop limit orders typically do not execute during extended hours after the general market session has closed. Stop orders are market orders and market orders especially are not executed during extended hours. Although there are exceptions because a broker can say one thing and do another thing with the way order types are presented to customers vs what their programming actually does. The regulatory burden is a slap on the wrist, so you need to ask the broker what their practices are. Orders created during normal market hours do not execute in extended sessions, different orders would have to be made during the extended session. Your stop order should execute if the normal market hour price stays below your stop price. So a stop limit would actually be worse here, because a stop limit will create a limit order which may never get hit (since it is above the best bid best ask)
You can do FOK on both market and limit orders. Normal market orders will partial fill if you want more shares than are being offered, or if someone pulled their order before you get there and now there are fewer shares than you placed a trade for. With a FOK limit order not at the BBO you are shooting in the dark for a quick match, most of the time it does not fill.  This is a commonly used order type for UHFT arbitrage.  Some exchanges will not attempt to cross it for a match if its price is not at, or better than the market price. When the FOK limit order is at the BBO it is essentially a FOK market order.   FYI: Sometimes you have a minimum quantity to fill option, so you can let the order sit on the book until it fills or you cancel.
Limit books are managed by exchanges. If an order is not immediately filled, it is sent to the book.  From there, orders are generally executed on price-time-priority.  The one major exception is the precedence hide-not-slide orders have over earlier placed visible slidden limit orders since unslidden orders are treated like a modification/cancellation. To an exchange, a modification is the same as a cancellation since it charges no fees for placing or canceling orders, only for trades.  The timestamp is reset, and price-time-priority is applied in the same way, so if a modified order isn't immediately filled, it is sent back to the book to be filled in order of price-time-priority.