Price does not show up fully for a product - display

I got this problem on a website. The price does not show up fully on the site although, we entered the price in seven figures. Could anyone please guide me how to fix this issue?
The website at hand is showing 300 yen for the price of a unit. But the actual price added was was 3 million instead of just 300 yen.
May I know how to solve that problem.
Thanks

Related

How do you stop a draw commission after reaching a certain number while continuing commission earned after draw limit

so im very new to excel and I have a problem I need to solve for an internship im applying for. As a heads up I apologize for any confusion, but im happy to answer any questions that I may have left out from the explanation. Regardless I would really appreciate some help!
Question:
If someone starting at a company is allowed a draw of $5,000 a month if they earn a commission of less than $5,000, up to $30,000 within the first 12 months. If they make more than $5,000 in commission, they don't automatically get a draw of $5,000. After the first 12 months, regardless of their commission, they no longer are granted a draw.
How do I automate a draw up until $30k total commission if less than $5k for the first 12 months, and stopping the draw automation after either of those conditions are met while maintaining commission earned indefinitely.
What I have done so far
Again I probably formatted the whole book incorrectly for this. But thats the formula I have made for the calculation so far but I dont know how to make the draw stop after either 12 months or after reaching $30k automatically.
EDIT: heres the formulas I have made so far. Again im just starting to learn this so im probably far off. Sorry I forgot to add my formula

Why when the market price is below a limit buy, why is it not fullfilled?

I am writing a trading bot in C++. I am making limit orders that allow for 1% leniency. As you can see there is a market price of 2.2532, and I made a limit buy at 2.2757. Logically, if the limit buy should be activated once the market price is at or below the limit price. However, as you can see from the pictures below, this is not the case. I posted pictures of both the order book and the trade history. What I am wondering is why. Does this have something to do with the order book? I also noticed when placing market values generally there is a fairly large discrepancy between the price of the market and the average price it is filled at.
Since getting the market price on Binance does not seem to actually tell you if the market order will be full-filled at that price, or if the limit order can go through at a price around there. Is there a way to actually programmatically/mathematically find out if a limit order will go through. Or, find out what the actual average price of a market order will be if bought in that moment?
UPDATE
So when I go to place a market order, I get this message:
Your order price will be 8% higher than the latest market price. Please proceed cautiously. When I want to buy at the market price. Partially I want to know why. But also, is there a way to get the exact number in which this price will be? Also, Is there a way to get this on the API exactly what the next market buy/sell will be?
After some more research on the question. According to investopedia
A trade will only occur when someone is willing to sell the security at the bid price, or buy it at the ask price.
Meaning, the price at which the asset will be sold at has less to do with the current market price, and a lot more to do with the order book. Looking at the pictures above, at that time according to limit orders the lowest someone was willing to sell the asset was, was 2.500 and the highest someone was willing to buy the asset for was 2.499. These are the ask price and bid price respectively. Since no one was willing to buy at the ask price or sell at the bid price, the transaction did not go through. Notice that the quantities are also important for knowing how much of the order will be filled, for your future reference.
For those that might be a little confused, you need to buy at the lowest someone is willing to sell. You need to sell at the highest someone is willing to buy. These come from the limit orders.
Back to the original question, the update on the 8% difference makes sense, the ask price probably dropped a little. However, if you notice 2.2532 * 1.08 is 2.433456 which is much closer to the 2.5 price above than the limit buy created at 2.2757 meaning the 8% notification makes sense.
I will now explain how you would calculate this using mathematics and coding. You need to pull from the order book ticker. This api request is /api/v3/ticker/bookTicker
I am going to use the example of wanting a market buy for GRTUSD. The dictionary you get back from the link https://api.binance.us/api/v3/ticker/bookTicker?symbol=GRTUSD is {"symbol":"GRTUSD","bidPrice":"0.1391","bidQty":"3613.45000000","askPrice":"0.1393","askQty":"5183.18000000"}
Some quick math shows that 5183.18000000 of GRT is the equivalent of a little over 722 USD at the ask price. This means if I placed a market buy for GRTUSD. As long as the amount of USD I was investing at that moment was equivalent to or less than 722 USD it would get filled at the ask price of 0.1393

How do you charge tax on the one thousand per every thousand in excel

I have an assignment where I am not receiving any help. My teacher wants us to do an excel project where someone makes between 24,000 and 34,000 dollars every year and they are charged 12 percent tax on their wealth in excess of 24,000 dollars; however, if their wealth is greater than 34000 they are charged 18 percent tax per the 1000 dollars they make ( I have no idea what this means).
I have tried using nested IF functions to solve this problem, however, I am not really sure where to start or what to do.
I am not trying to have anyone do my homework/project, I just sincerely need help.
Any suggestions?
I may have read your question wrong, if the taxable amount is the portion above 24000 then you will need to adjust the calculations accordingly. However the two methods shown should get you some way...
1) with if statements like:
=if(A1>=34000,A1*0.18,if(A1>=24000,A1*0.12,"error"))
Or you can use vlookup() with a table :

Trying to get the number of entries between certain dates

In regards to the screen shots below, I am trying to make a formula that will give me the number of times QLD appears per month's data.
Raw Data
Table Data
The second screenshot gives what I thought would work. But it just comes back with 0 instead of 4. Here's the code if people find this to work with.
=SUMPRODUCT(--(Sheet1!C2:C500<=Sheet1!O2),--(Sheet1!C2:C500>=Sheet1!N2),--(Sheet1!B2:B500="QLD"))
What am I doing wrong? I have been Googling like mad but I can't quite make it work.
Also, if anyone has a hint for me to be able to total the value of QLD entries per month that would also be appreciated. (i.e. January QLD total value would be $1,275,000)
Thanks in advance! Please let me know if anything needs clarifying.

Excel Index Function

I just want to thank you guys in advance. I think you guys are doing a great job in helping people out with programming stuff. Pats on the back for all of you.
Here is what I've been working on: I have daily stock price return data on about 4000 stocks. I want to add them to my portfolio after observing their performance for 12 months. I will choose the top 10% best performers and bottom 10% worst performers. I will create multiple portfolios over a period of time. I have done that with no problem.
I want to use the INDEX function to calculate the daily return of my portfolio. Not all 4000 stocks are in my portfolio, about 300 stocks are in my portfolio at any given time. The daily portfolio returns will be calculated by multiplying the weights (they are equal weighted, so 1/300) to that stock's return on the specific date. I assume it has to do with a combination of INDEX, SUMPRODUCT, and IF or MATCH functions.
I have been thinking this for a long time and I just can't get to the bottom of it. I have attached pictures for a portion of what I was working on. I think will give you a good picture of what I'm trying to do. I bet this is such an easy thing for you guys. I hope you can help me out! Thanks again!
PICTURES:IN or OUT portfolio & Stock's individual returns
Charles
Not sure I understood your problem, but here is a trial suggestion:
You get data for 4000 stocks while you are monitoring 300. So, you need to find the correct one within your sheet (there will be 3700 that will not match anything).
If you have your stocks listed in, say, column "A", you could use the function LOOKUP (well explained in the Web). If you need to get the row of your stock, you can use the function MATCH.
If this is not what you are looking for, it means that I (at least) did not understand you, so you would need to add details to your question.

Resources