Charles Lee

Dec. 4, 2024 Wed. World News: Samsung Electronics Stock Analysis using replit/AI=API Pricing/A Sad Day

  • Written Language: Korean
  • Country: All Countriescountry-flag
  • Economy

Created: 2024-12-04

Updated: 2024-12-04

Created: 2024-12-04 09:01

Updated: 2024-12-04 10:17

A Sad Day (Emergency Martial Law declared on the evening of December 3rd)

The day Seoul almost became Gwangju, South Jeolla Province

The day South Korea almost became Myanmar

Learning

A Comparison of Samsung Electronics and Samsung Electronics(Pref.) Stock Prices - AI Auto-Programming (using replit)

Can we calculate the profit by changing the allocation by the ratio of the minimum and maximum based on the 52-week basis or the entire basis according to the difference?
I want to create a formula that calculates the amount considering the commission when I initially have 1000/1000 shares and process it once a week.
ToDo: I want to create a tool to conduct backtests.

Dec. 4, 2024 Wed. World News: Samsung Electronics Stock Analysis using replit/AI=API Pricing/A Sad Day
Dec. 4, 2024 Wed. World News: Samsung Electronics Stock Analysis using replit/AI=API Pricing/A Sad Day

Thoughts on using the replit AI

>> After creating a basic framework, I think it's better to write the details myself..
It's much faster to initially set up the screen (because it's something I don't know well). Ultimately, it seems much faster to delegate the parts I don't know and code the parts I do know myself.
It's also very useful to have the initial work done automatically and then modify it from there.
If the result isn't what I want, I can just ask it again. However, the calculation time increases significantly each time I ask it to redo something.


Viewing the World (Various Comments/News)

IT

2024-12-04 Wednesday Morning Routine (Hankyung): Emergency Martial Law / KOREA ETF, Bitcoin crash / Expected outflow of foreign capital / Surge in US startups / Japan expected to raise interest rates by 0.25 (Yen strengthening)

>> Crazy!

openAI API Pricing

1M tokens means approximately 1,000,000 tokens. Generally, for English, 1 token is approximately 4 characters or 0.75 words. Therefore, 1M tokens corresponds to approximately 750,000 words.

Assuming that one page of A4 paper contains about 250-300 words, 1M tokens can be calculated as follows:

750,000 words ÷ 250 words/page = approximately 3,000 pages
750,000 words ÷ 300 words/page = approximately 2,500 pages
Therefore, it can be inferred that 1M tokens corresponds to approximately 2,500 to 3,000 pages of A4 paper.

Pricing (1M Tokens)
GPT-4o-2024-08-06 Global Input: $2.50
Cached Input: $1.25
Output: $10




Comments0