반응형
블로그 이미지
개발자로서 현장에서 일하면서 새로 접하는 기술들이나 알게된 정보 등을 정리하기 위한 블로그입니다. 운 좋게 미국에서 큰 회사들의 프로젝트에서 컬설턴트로 일하고 있어서 새로운 기술들을 접할 기회가 많이 있습니다. 미국의 IT 프로젝트에서 사용되는 툴들에 대해 많은 분들과 정보를 공유하고 싶습니다.
솔웅

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

카테고리

Edits - openai.Edit.create()

2023. 1. 17. 00:58 | Posted by 솔웅


반응형

https://beta.openai.com/docs/api-reference/edits

 

Create edit

POST https://api.openai.com/v1/edits

Creates a new edit for the provided input, instruction, and parameters

제공된 입력, 지침 및 매개변수에 대한 새 편집을 생성합니다.

 

Request body

model
string
Required

ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.

사용할 모델의 ID입니다. 모델 목록 API를 사용하여 사용 가능한 모든 모델을 보거나 모델 개요에서 설명을 볼 수 있습니다.

 

input
string
Optional
Defaults to ''

The input text to use as a starting point for the edit.

편집의 시작점으로 사용할 입력 텍스트입니다.

 

instruction
string
Required

The instruction that tells the model how to edit the prompt.

프롬프트를 편집하는 방법을 모델에 알려주는 명령입니다.

 

n
integer
Optional
Defaults to 1

How many edits to generate for the input and instruction.

입력 및 명령어에 대해 생성할 편집 횟수입니다.

 

temperature
number
Optional
Defaults to 1

What sampling temperature to use. Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well-defined answer.

사용할 샘플링 온도(temperature). 값이 높을수록 모델이 더 많은 위험을 감수하게 됩니다. 더 창의적인 응용 프로그램에는 0.9를, 잘 정의된 답이 있는 응용 프로그램에는 0(argmax 샘플링)을 사용해 보십시오.

 

We generally recommend altering this or top_p but not both.

 

일반적으로 temperature 또는 top_p를 변경하는 것이 좋지만 둘 다 변경하는 것은 권장하지 않습니다.

 

top_p
number
Optional
Defaults to 1

An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.

모델이 top_p 확률 질량으로 토큰의 결과를 고려하는 핵 샘플링이라고 하는 온도(temperature )를 사용한 샘플링의 대안입니다. 따라서 0.1은 상위 10% 확률 질량을 구성하는 토큰만 고려됨을 의미합니다.

 

We generally recommend altering this or temperature but not both.

 

일반적으로 top_p 또는 온도를 변경하는 것이 좋지만 둘 다 변경하는 것은 권장하지 않습니다.

 

 

반응형

Completions - openai.Completion.create()

2023. 1. 17. 00:43 | Posted by 솔웅


반응형

https://beta.openai.com/docs/api-reference/completions

 

Completions

Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.

 

프롬프트가 주어지면 모델은 하나 이상의 예상 완료(Completion)를 반환하고 각 위치에서 대체 토큰의 확률을 반환할 수도 있습니다.

 

Create completion

POST https://api.openai.com/v1/completions

Creates a completion for the provided prompt and parameters

제공된 프롬프트 및 매개변수에 대한 완성(completion)을 생성합니다.

 

 

Request body

model
string
Required

ID of the model to use. You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.

사용할 모델의 ID입니다. 모델 목록 API를 사용하여 사용 가능한 모든 모델을 보거나 모델 개요에서 설명을 볼 수 있습니다.

 

prompt
string or array
Optional
Defaults to <|endoftext|>

The prompt(s) to generate completions for, encoded as a string, array of strings, array of tokens, or array of token arrays.

문자열, 문자열 배열, 토큰 배열 또는 토큰 배열 배열로 인코딩된 완성(completions )을 생성하는 프롬프트입니다.

 

Note that <|endoftext|> is the document separator that the model sees during training, so if a prompt is not specified the model will generate as if from the beginning of a new document.

 

<|endoftext|>는 훈련 중에 모델이 보는 문서 구분 기호이므로 프롬프트가 지정되지 않으면 모델이 새 문서의 시작 부분에서 생성되는 것처럼 생성됩니다.

 

suffix
string
Optional
Defaults to null

The suffix that comes after a completion of inserted text.

삽입된 텍스트가 완료된 뒤에 오는 접미사.

 

max_tokens
integer
Optional
Defaults to 16

The maximum number of tokens to generate in the completion.

completion 에서 생성할 수 있는 최대 토큰 수입니다.

 

The token count of your prompt plus max_tokens cannot exceed the model's context length. Most models have a context length of 2048 tokens (except for the newest models, which support 4096).

 

프롬프트의 토큰 수에 max_tokens를 더한 값은 모델의 컨텍스트 길이를 초과할 수 없습니다. 대부분의 모델은 컨텍스트 길이가 2048 토큰입니다(4096을 지원하는 최신 모델 제외).

 

temperature
number
Optional
Defaults to 1

What sampling temperature to use. Higher values means the model will take more risks. Try 0.9 for more creative applications, and 0 (argmax sampling) for ones with a well-defined answer.

사용할 샘플링 온도. 값이 높을수록 모델이 더 많은 위험을 감수하게 됩니다. 더 창의적인 응용 프로그램에는 0.9를, 잘 정의된 답이 있는 응용 프로그램에는 0(argmax 샘플링)을 사용해 보십시오.

 

We generally recommend altering this or top_p but not both.

 

일반적으로 temperature나  top_p를 변경하는 것이 좋지만 둘 다 변경하는 것은 권장하지 않습니다.

 

top_p
number
Optional
Defaults to 1

An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.

모델이 top_p 확률 질량으로 토큰의 결과를 고려하는 핵 샘플링이라고 하는 온도(temperature)를 사용한 샘플링의 대안입니다. 따라서 0.1은 상위 10% 확률 질량을 구성하는 토큰만 고려됨을 의미합니다.

 

We generally recommend altering this or temperature but not both.

 

일반적으로 top_p 또는 온도 (temperature) 를 변경하는 것이 좋지만 둘 다 변경하는 것은 권장하지 않습니다.

 

n
integer
Optional
Defaults to 1

How many completions to generate for each prompt.

각 프롬프트에 대해 생성할 완료 수입니다.

 

Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.

 

참고: 이 매개변수는 많은 완료를 생성하기 때문에 토큰 할당량을 빠르게 소비할 수 있습니다. 신중하게 사용하고 max_tokens 및 중지에 대한 합리적인 설정이 있는지 확인하십시오.

 

stream
boolean
Optional
Defaults to false

Whether to stream back partial progress. If set, tokens will be sent as data-only server-sent events as they become available, with the stream terminated by a data: [DONE] message.

부분 진행 상황을 스트리밍할지 여부입니다. 설정되면 토큰이 사용 가능해지면 데이터 전용 서버 전송 이벤트로 전송되며, 스트림은 data: [DONE] 메시지로 종료됩니다.

 

logprobs
integer
Optional
Defaults to null

Include the log probabilities on the logprobs most likely tokens, as well the chosen tokens. For example, if logprobs is 5, the API will return a list of the 5 most likely tokens. The API will always return the logprob of the sampled token, so there may be up to logprobs+1 elements in the response.

logprobs 가장 가능성이 높은 토큰과 선택한 토큰에 대한 로그 확률을 포함합니다. 예를 들어 logprobs가 5이면 API는 가능성이 가장 높은 5개의 토큰 목록을 반환합니다. API는 항상 샘플링된 토큰의 logprob를 반환하므로 응답에 최대 logprobs+1 요소가 있을 수 있습니다.

 

The maximum value for logprobs is 5. If you need more than this, please contact us through our Help center and describe your use case.

 

logprobs의 최대 값은 5입니다. 이보다 더 필요한 경우 고객 센터를 통해 문의하여 사용 사례를 설명하십시오.

 

echo
boolean
Optional
Defaults to false

Echo back the prompt in addition to the completion

완료(completion)에 더해서 프롬프트를 반환합니다.

 

stop
string or array
Optional
Defaults to null

Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.

API가 추가 토큰 생성을 중지하는 최대 4개의 시퀀스. 반환된 텍스트에는 중지 시퀀스가 포함되지 않습니다.

 

presence_penalty
number
Optional
Defaults to 0

Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.

-2.0에서 2.0 사이의 숫자입니다. 양수 값은 지금까지 텍스트에 나타나는지 여부에 따라 새 토큰에 페널티를 주어 모델이 새 주제에 대해 이야기할 가능성을 높입니다.

 

See more information about frequency and presence penalties.

 
 
frequency_penalty
number
Optional
Defaults to 0

Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.

-2.0에서 2.0 사이의 숫자입니다. 양수 값은 지금까지 텍스트의 기존 빈도를 기반으로 새 토큰에 페널티를 주어 모델이 동일한 줄을 그대로 반복할 가능성을 줄입니다.

 

See more information about frequency and presence penalties.

 
 
best_of
integer
Optional
Defaults to 1

Generates best_of completions server-side and returns the "best" (the one with the highest log probability per token). Results cannot be streamed.

서버측에서 best_of 완료를 생성하고 "최고"(토큰당 로그 확률이 가장 높은 항목)를 반환합니다. 결과를 스트리밍할 수 없습니다.

 

When used with n, best_of controls the number of candidate completions and n specifies how many to return – best_of must be greater than n.

 

n과 함께 사용하는 경우 best_of는 후보 완료 수를 제어하고 n은 반환할 수를 지정합니다. best_of는 n보다 커야 합니다.

 

Note: Because this parameter generates many completions, it can quickly consume your token quota. Use carefully and ensure that you have reasonable settings for max_tokens and stop.

 

참고: 이 매개변수는 많은 완료를 생성하기 때문에 토큰 할당량을 빠르게 소비할 수 있습니다. 신중하게 사용하고 max_tokens 및 중지에 대한 합리적인 설정이 있는지 확인하십시오.

 

logit_bias
map
Optional
Defaults to null

Modify the likelihood of specified tokens appearing in the completion.

완료(completion)에 지정된 토큰이 나타날 가능성을 수정합니다.

 

Accepts a json object that maps tokens (specified by their token ID in the GPT tokenizer) to an associated bias value from -100 to 100. You can use this tokenizer tool (which works for both GPT-2 and GPT-3) to convert text to token IDs. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.

 

토큰(GPT 토크나이저의 토큰 ID로 지정됨)을 -100에서 100 사이의 관련 바이어스 값으로 매핑하는 json 개체를 허용합니다. 이 토크나이저 도구(GPT-2 및 GPT-3 모두에서 작동)를 사용하여 변환할 수 있습니다. 토큰 ID에 대한 텍스트. 수학적으로 바이어스는 샘플링 전에 모델에 의해 생성된 로짓에 추가됩니다. 정확한 효과는 모델마다 다르지만 -1과 1 사이의 값은 선택 가능성을 낮추거나 높여야 합니다. -100 또는 100과 같은 값은 관련 토큰을 금지하거나 배타적으로 선택해야 합니다.

 

As an example, you can pass {"50256": -100} to prevent the <|endoftext|> token from being generated.

 

예를 들어 {"50256": -100}을 전달하여 <|endoftext|> 토큰이 생성되지 않도록 할 수 있습니다.

 

user
string
Optional

A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. Learn more.

OpenAI가 남용을 모니터링하고 탐지하는 데 도움이 될 수 있는 최종 사용자를 나타내는 고유 식별자입니다. 

반응형


반응형

https://beta.openai.com/docs/api-reference/models

 

List and describe the various models available in the API. You can refer to the Models documentation to understand what models are available and the differences between them.

 

API에서 사용할 수 있는 다양한 모델을 나열하고 설명합니다. 모델 설명서를 참조하여 사용 가능한 모델과 차이점을 이해할 수 있습니다.

 

https://coronasdk.tistory.com/1212

 

Get Started - Models

https://beta.openai.com/docs/models/overview OpenAI API An API for accessing new AI models developed by OpenAI beta.openai.com Models Overview The OpenAI API is powered by a family of models with different capabilities and price points. You can also custom

coronasdk.tistory.com

 

List models

GET https://api.openai.com/v1/models

Lists the currently available models, and provides basic information about each one such as the owner and availability.

현재 사용 가능한 모델을 나열하고 소유자 및 가용성과 같은 각 모델에 대한 기본 정보를 제공합니다.

 

 

Retrieve model

GET https://api.openai.com/v1/models/{model}

Retrieves a model instance, providing basic information about the model such as the owner and permissioning.

소유자 및 권한과 같은 모델에 대한 기본 정보를 제공하는 모델 인스턴스를 검색합니다.

Path parameters

https://beta.openai.com/docs/api-reference/models/retrieve#models/retrieve-model

model
string
Required

The ID of the model to use for this request

요청을 위해 사용되는 모델의 아이디.

 

 

 

 

반응형


반응형

https://beta.openai.com/docs/api-reference/making-requests

 

 

Making requests

You can paste the command below into your terminal to run your first API request. Make sure to replace YOUR_API_KEY with your secret API key.

 

아래 명령을 터미널에 붙여넣어 첫 번째 API 요청을 실행할 수 있습니다. YOUR_API_KEY를 비밀 API 키로 바꾸십시오.

 

curl https://api.openai.com/v1/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"model": "text-davinci-003", "prompt": "Say this is a test", "temperature": 0, "max_tokens": 7}'

 

This request queries the Davinci model to complete the text starting with a prompt of "Say this is a test". The max_tokens parameter sets an upper bound on how many tokens the API will return. You should get a response back that resembles the following:

 

이 요청은 Davinci 모델을 쿼리하여 "Say this is a test"라는 프롬프트로 시작하는 텍스트를 완성합니다. max_tokens 매개변수는 API가 반환할 토큰 수에 대한 상한을 설정합니다. 다음과 유사한 응답을 받아야 합니다.

 

{
    "id": "cmpl-GERzeJQ4lvqPk8SkZu4XMIuR",
    "object": "text_completion",
    "created": 1586839808,
    "model": "text-davinci:003",
    "choices": [
        {
            "text": "\n\nThis is indeed a test",
            "index": 0,
            "logprobs": null,
            "finish_reason": "length"
        }
    ],
    "usage": {
        "prompt_tokens": 5,
        "completion_tokens": 7,
        "total_tokens": 12
    }
}

 

이제 첫 번째 완료를 생성했습니다. 프롬프트와 완료 텍스트(echo 매개변수를 true로 설정한 경우 API가 수행함)를 연결하면 결과 텍스트는 "Say this is a test. This is really test."입니다. API가 텍스트를 다시 스트리밍하도록(데이터 전용 서버 전송 이벤트로) 스트림 매개변수를 true로 설정할 수도 있습니다.

 

 

반응형


반응형

https://beta.openai.com/docs/api-reference/authentication

 

Authentication

 

The OpenAI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you'll use in your requests.

 

OpenAI API는 인증을 위해 API 키를 사용합니다. 요청에 사용할 API 키를 검색하려면 API 키 페이지를 방문하세요.

 

Remember that your API key is a secret! Do not share it with others or expose it in any client-side code (browsers, apps). Production requests must be routed through your own backend server where your API key can be securely loaded from an environment variable or key management service.

 

API 키는 비밀임을 기억하세요! 다른 사람과 공유하거나 클라이언트 측 코드(브라우저, 앱)에 노출하지 마십시오. 프로덕션 요청은 환경 변수 또는 키 관리 서비스에서 API 키를 안전하게 로드할 수 있는 자체 백엔드 서버를 통해 라우팅되어야 합니다.

 

All API requests should include your API key in an Authorization HTTP header as follows:

 

모든 API 요청에는 다음과 같이 Authorization HTTP 헤더에 API 키가 포함되어야 합니다.

 

Authorization: Bearer YOUR_API_KEY

 

Requesting organization

For users who belong to multiple organizations, you can pass a header to specify which organization is used for an API request. Usage from these API requests will count against the specified organization's subscription quota.

 

여러 조직에 속한 사용자의 경우 헤더를 전달하여 API 요청에 사용되는 조직을 지정할 수 있습니다. 이러한 API 요청의 사용량은 지정된 조직의 구독 할당량에 대해 계산됩니다.

 

Example curl command:

 

curl https://api.openai.com/v1/models \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'OpenAI-Organization: org-94IiGgQZbJYNSQZpYNoq7mL1'

 

Example with the openai Python package:

 

import os
import openai
openai.organization = "org-94IiGgQZbJYNSQZpYNoq7mL1"
openai.api_key = os.getenv("OPENAI_API_KEY")
openai.Model.list()

 

Example with the openai Node.js package:

 

import { Configuration, OpenAIApi } from "openai";
const configuration = new Configuration({
    organization: "org-94IiGgQZbJYNSQZpYNoq7mL1",
    apiKey: process.env.OPENAI_API_KEY,
});
const openai = new OpenAIApi(configuration);
const response = await openai.listEngines();

 

 

Organization IDs can be found on your Organization settings page.

 

조직 ID는 조직 설정 페이지에서 찾을 수 있습니다.

 

 

 

 

 

 

반응형


반응형

https://beta.openai.com/docs/api-reference/introduction

 

 

Introduction

 

You can interact with the API through HTTP requests from any language, via our official Python bindings, our official Node.js library, or a community-maintained library.

 

공식 Python 바인딩, 공식 Node.js 라이브러리 또는 커뮤니티 유지 라이브러리를 통해 모든 언어의 HTTP 요청을 통해 API와 상호 작용할 수 있습니다.

 

To install the official Python bindings, run the following command:

 

공식 파이썬 바인딩을 인스톨 하려면 아래 명령어를 실행하세요.

 

pip install openai

 

To install the official Node.js library, run the following command in your Node.js project directory:

 

공식 Node.JS 라이브러리를 인스톨 하려면 여러분의 Node.js 프로젝트 디렉토리 아래에서 아래 명령어를 실행하세요.

 

npm install openai

 

 

 

반응형

How to Trade Week 2 - Home work

2023. 1. 16. 07:54 | Posted by 솔웅


반응형

How to Trade, Week 2 - Homework 


Please complete this homework before the next class in this course. We will review the answers 
at the beginning of the next class.


1. Which type of analysis focuses on the study of a company’s balance sheet?

==> Fundamental Analysis . 회사 재무재표 분석은 Fundamental 분석이다.


2. The analysis that studies past market data by viewing a chart is known as:

==> Technical Analysis. 기술적 분석은 지난 자료에 근거해서 수학적 계산값을 챠트로 표현한 자료를 참고로 한다.


3. Which type of analysis do you prefer? Why?

==> Technical Analysis because I can get Market's emotion and it is helpful to decide buy or sell the stock.

==> Fundamental Analysis include Macro also important. It helps to decide which stock is good for investment

 

4. Use the stock screener on Fidelity.com to search for the largest stock by market  capitalization. Which stock did you find?

==> AAPL -> News & Research > Stock > Screeners


5. Using the answer from question 4, what is the trailing 12 months price-to-earnings ratio [P/E  (TTM)] for that stock?

==> AAPL's PER is 21.86 as of 1/15/2023


6. Use the ETF screener to find the one with the highest 90-day average volume. Which ETF  did you find?

==> News & Reserch > ETF > Screener > Trading Characteristics > Volume > 90 day average > Sort by Volume 

==> SPY 


7. Using the answer from question 6, what are the top 3 holdings of that fund?

==> Click on SPY > Research & Quotes > Composition > 

==> AAPL, MSFT, AMZN 

반응형

Fundamental Analyst

2023. 1. 16. 00:50 | Posted by 솔웅


반응형

Fundamental Analysis

아젠다

 

Fundamental 분석 정의하기

Fundamental Reporting

조사하기 위한 도구들

어떤 정보들을 얻을 수 있는가

추가 자료들

 

비디오 보기 : fidelity.com/on-demand

정보 더 얻기 : fidelity.com-> News and Research - Learning Center

추가로 웨비너에 참가하기 : fidelity.com/webinars

글 읽기 : fidelity.com/viewpoints

Fundamental 분석 정의하기

Fundamental 분석 정의하기

정의

Fundamental 분석은 다음과 같은 정보들을 이용해서 회사에 대해 공부하는 것입니다.

- 경영의 질

- 노동자 관련 이슈

- 재고 관리

- PER과 EPS 성장률

- equity와 assets 에 대한 return

- 수요와 공급

- 시장에 대한 매크로 한 내용들

 

Fundamental 분석 정의하기

 

Limits (한계)

Fundamental 분석으로 다음과 같은 것들에 대해서는 알 수 없습니다.

- 투자 타이밍

- 매도 결정 하기

- 리스크와 리워드 정량화 하기

취득 가능한 정보들

취득 가능한 정보들

쉽게 취득할 수 있는 fundamental 정보

 

회사가 제공하는 금융 관련 발표들

- 대차대조표

- 손익 계산서

- 자금 흐름

 

다음과 같은 매크로 관련 데이터

- GDP (Gross Domestic Product) : 국내 총생산

- 재정 / 통화 관련 정책들

- 실업률

- 다른 경제 관련 보고서와 설문 조사들

 

취득 가능한 정보들

 

대차 대조표

 

자산

- 현금화 가능하거나 현금을 창출하는데 사용 할 수 있는 가치가 있는 것들

 

부채

- 채권과 자본, 세금을 포함한 회사가 진 빚

 

자기자본

- 자산과 부채를 고려한 후 주주가 보유한 가치.

자기자본을 의미하는 자본은 주주지분 또는 소유주 지분이라 불리는 것으로서 기업의 총자산에서 총부채를 차감하고 남은 잔여분을 말하며 자본금, 자본잉여금, 이익잉여금으로 구성된다.

취득 가능한 정보둘

대차대조표 - 일반 비율 (공비 共比)

 

당좌 비율 (Acid Test) - 당좌비율은 회사의 단기 유동성을 나타내며 가장 유동적인 자산으로 단기부채를 상환할 수 있는 회사의 능력을 측정합니다.

: 유동 자산 * / 현재 부채

 

유동 비율 : 유동부채에 대한 유동자산의 비율을 말한다. 단기채무에 충당할 수 있는 유동성 자산이 얼마나 되는지 나타내는 비율로서 여신취급 시 수신자의 단기 지급능력을 판단하는 대표적인 지표로 이용한다.

현재 자산 / 현재 부채

 

부채 자본 비율 (D/E) : 부채자본비율(Debt to Equity, D/E)은 기업이 현재 보유중인 자산을 취득하기 위해 얼마만큼의 부채를 사용했는지 알려주는 재무 레버리지 지표로, 기업의 재무 의사결정의 기준으로 활용되는 중요한 지표입니다.

총 부채 / 자본 

 

취득 가능한 정보

손익 계산서

 

탑 라인:
• 비용을 고려하기 전 회사의 총수입
영업이익(OI):
• 회사의 총수입에서 운영비를 뺀 금액
Bottom Line:
• 모든 비용 고려 후 회사의 순이익

 

 

취득 가능한 정보

손익 계산서 - 일반 비율 (공비 共比)

 

주당 순 이익 (EPS)

- (당기순이익 – 우선배당금) / 발행주식수

주당순이익(Earnings Per Share, EPS)은 기업의 순이익(당기순이익)을 유통주식수로 나눈 수치를 말한다. 즉, 1주당 얼마의 이익을 창출하였느냐를 나타내는 지표로 보통 1년 단위로 1주당 수익 지표라 할 수 있다.

 

주가 수익률

- 현재 거래가 / EPS

주가수익률은 주가를 1주당 순이익 (EPS)으로 나눈 값이다. 예를 들어 주가 10,000 원짜리 기업이 주당 1,000 원의 순익을 거뒀다면 PER은 10배가 된다. 주가 5,000 원짜리 기업이 주당 1,000 원의 순익을 거뒀다면 PER은 5배가 된다.

 

이익률

- (순매출 – 상품 및 서비스 비용) / 순매출

순이익을 세후 순매출액으로 나눈 개념. 즉 매출에서 모든 비용과 세금을 공제한 후 소유주에게 남은 부분을 가리킨다. 순이익률은 매출액 중 주주를 위해 최소한 어느 정도의 금액을 제공할 수 있는가 하는 경영 능력의 측정에 사용된다.

 

취득 가능한 정보들

현금 흐름

미수금:
• 회사 받아야 하지만 아직 받지 않은 금액 

미지급금:
• 회사가 지불해야 하지만 아직 이행되지 않은 금액


감가 상각:
• 회사 자산의 낮은 가치에 대한 회계처리

기업이 사용하는 기물이나 설비 등은 해마다 소모되는데, 이러한 가치의 감소분을 보전하는 절차를 감가상각이라고 하고 이와 같이 자산의 이용으로 발생하는 비용을 감가상각비라 한다.

상각
• 시간 경과에 따라 더 낮은 부채를 설명하는 미결제 부채 조정

상각은 예를 들어 집을 저당잡히고 채무 원금과 이자를 매달 분할 상환하는 것과 같은 형태로 이루어진다. 이처럼 부채를 매년 체계적으로 갚아나가는 방식을 이용하면 큰 액수를 한꺼번에 지불하는 경우에 비해 한 해의 상환 부담액을 줄일 수 있기 때문에, 결국 투자자는 보다 높은 안정성을 보장받을 수 있다. 회계에서 이용되는 자산 상각은 건물·기계·광산 등과 같은 자산의 사용 가능한 평가 연수를 계산하고, 그 기간 동안 소요되는 원가에 대해 상각하는 방식이다. 이는 곧 대차대조표의 평가액을 줄이고 그 자산의 원가를 운영비용으로 처리하는 형태로 이루어진다. 이와 같은 비용 지출을 감가상각이라 하고, 특히 고갈되는 천연자원의 경우에는 감모상각이라 한다.

 

 

취득 가능한 정보

현금 흐름 - 일반 비율 (공비 共比)

 

현금 흐름:
• 운영 현금 흐름 – 자본 지출

자산 효율성:
• 총 매출 / 평균. 총 자산

유동 책임 범위:
• 영업현금흐름 / 평균 유동 부채

 

Note

: 현금흐름 또는 캐시플로(cash flow)는 현금의 실질적 이동 또는 가상적 이동이다. 좁은 의미에서 현금흐름은 (특히 한 중앙은행에서 다른 중앙은행으로의) 특정 통화를 통한 지불이다. 미래에 발생할 것으로 예측되는 데에 현금흐름이라는 용어를 주로 사용한다.

사업, 프로젝트, 금융상품 안팎의 (상징적) 지불을 기술하기 위해 현금흐름이라는 표현이 사용되기도 한다.

: 현금흐름표(C/F, cash flow statement, statement of cash flow)는 영업활동, 투자활동, 재무활동별로 기업의 일정기간 동안의 현금성 자산의 변동에 관한 정보를 제공하는 재무제표를 말한다. 손익계산서가 이익을 중심으로 만들어졌다면, 현금흐름표는 현금을 중심으로 만들어진다고 볼 수 있다. 회사의 1년간의 이익은 손익계산서로 표시되지만, 이익이 났다고 현금이 반드시 플러스 상태가 되는 것은 아니다. 아무리 많은 이익을 내더라도 현금이 고갈되면 원자재를 구입하지 못할뿐더러 종업원의 급여도 지불할 수가 없다. 다시 말해, 현금이 없으면 회사는 망하게 되는 것이다.

 

취득 가능한 정보  

회사에 대한 보고서들

 

정기적인 보고들:
• 증권거래위원회(SEC)는 공개 기업이 분기별(10-Q) 및 연간(10-K) 재무 보고서를 제출하도록 요구합니다.

G.A.A.P. :
• 표준화된 회계 원칙을 보장하기 위해 일반적으로 인정되는 회계 원칙은 회사를 나란히 비교할 수 있도록 합니다.

일반적으로 인정된 회계원칙(영어: Generally Accepted Accounting Principles, GAAP) 또는 '기업회계기준'이란 기업의 재무상태 및 경영성과 등에 대한 재무보고시 신뢰성과 비교가능성을 제고하기 위해 재무제표등의 작성시 따라야할 기준 또는 원칙을 의미한다.

회사가 제공한 보고서들 :
• 일부 회사는 Non_GAAP 회계 기준에 따라 추가 또는 수정된 재무 정보를 공개하도록 선택합니다.
• 일반적인 차이점은 회사의 가치를 과대 평가하거나 과소 평가할 수 있는 세금 공제 또는 소송 비용과 같은 일회성 비용을 조정하는 것입니다.

 

Fidelity.com에서 알아보기

Stock Research Center

News and Research > Stocks > Enter Stock Symbol

 

Fundamental Break Down (Fundamental에서 파생된 분류들)

• S&P Global은 모든 회사에 대한 빠르고 읽기 쉬운 보고서를 제공합니다.
• 전체 정의를 보려면 오른쪽 상단의 '더보기'를 클릭하세요.

재무 보고서

News and Research > Stocks > Enter Stock Symbol

 

추가로 가능한 검색

- Stock research 페이지 아래로 감

- 재무재표, 손익 계산서 그리고 현금 흐름 보고서를 보기 위해 Financial Statements를 클릭한다.

 

핵심 통계 자료

More research 박스에서 찾으세요

 

회사는 어떻게 비교됩니까?:
• 일반적인 기본 비율을 포함하고 회사를 동종 업계 회사와 비교합니다.

 

Equity Summary Score
Stock Research 페이지에서 찾은 ESS

날짜가 있는 하이퍼링크를 클릭하여 분석 회사의 보고서에 액세스하십시오.
• 일반적인 기본 비율을 포함하고 회사를 동종 업계 타 회사와 비교합니다.
• 자세한 보고서를 보려면 오른쪽 상단의 '더보기'를 클릭하십시오.

질문 시간

감사합니다.

 

 

중요한 정보

언급된 모든 스크린샷, 차트 또는 회사 거래 기호는 설명 목적으로만 제공되며 매도 제안, 매수 제안 권유 또는 증권에 대한 권장 사항으로 간주되어서는 안 됩니다.

투자에는 손실 위험을 포함한 위험이 수반됩니다.


© 2020 FMR LLC. 판권 소유.
Fidelity Brokerage Services, 회원 NYSE, SIPC, 900 Salem Street, Smithfield, RI 02917
910805.2.0

반응형


반응형

 

What is implied volatility (IV)?
A. Probability of profit percentage
B. The 1 year, 1 standard deviation expected range
C. The volatility of the stock recent activity
D. The expected change in option premium for an increase in Delta

 

==> B. 1년간 1 표준편차 범위


What is the approximate daily expected move when IV (implied volatility) is 16%?
A. 0.5%
B. 1%
C. 1.6%
D. 16%

 

==> B. IV 16%의 변화는 하루에 1%의 주가 변동을 의미한다.


What is Vega? The option ‘Greek’ that represents the change in option premium for…
A. A 1% increase in HV (historical volatility)
B. A $1 move up in underlying price  
C. The passage of 1 day 
D. A 1% increase in IV (implied volatility) 

 

==> D. 


Which of these is considered the most expensive option contract?
A. Jan XYZ Call @ 25, 3.15 with an IV of 14%
B. Jul ABC Call @ 30, 1.10 with an IV of 29%
C. Apr RST Put @ 350, 14.25 with an IV of 12%
D. Aug JKL Put @ 5, 0.65 with an IV of 15%

 

==> B. * 잠재적 변동성이 높은 경우 옵션 가격이 높다.

 

 

Rising fear and uncertainty in the market will have what effect on IV (implied volatility)?
A. IV levels will rise
B. IV levels will fall
C. IV levels will remain unchanged
D. Not enough information

 

==> A. 시장에 대한 불안감이 높아지면 옵션에 대한 투자가 늘어나고 그렇게 되면 잠재적 변동성 값은 더 커지게 되고 그러면 옵션 가격은 오르게 된다.


What can you learn from identifying the vertical (call/put) IV (implied volatility)  skew?
A. How long your trade will take to become profitable
B. The date of an upcoming earnings announcement
C. The direction in which the market expects the stock to move
D. The direction in which the market expects a move to be more violent if it occurs

 

==> D *


Where can you find the IV30 Percentile?
A. Active Trader Pro > Options > Options Statistics
B. Fidelity.com > News & Research > Options > Trading Ideas
C. Active Trader Pro > Options > Option Summary
D. Active Trader Pro > Accounts > Account Summary

 

==> A. 


Options trading entails significant risk and is not appropriate for all investors. Certain complex options strategies carry additional risk. 
Before trading options, please read Characteristics and Risks of Standardized Options. Supporting documentation for any claims, if  applicable, will be furnished upon request.
Any screenshots, charts, or company trading symbols mentioned are provided for illustrative purposes only and should not be  considered an offer to sell, a solicitation of an offer to buy, or a recommendation for the security.
Greeks are mathematical equations used to determine the effect of various factors in options.


Fidelity Brokerage Services LLC, Member NYSE, SIPC, 900 Salem Street, Smithfield, RI 02917
© 2021 FMR LLC. All rights reserved. 
824690.6.0

반응형

Buying Options Week 2 Homework

2023. 1. 15. 08:21 | Posted by 솔웅


반응형

==> A. Long Call 은 만기일 이내에 행사가격에 주식을 매수할 권리를 구매한 상품이다. 이 옵션은 리스크는 프리미엄으로 한정되고 수익은 주식이 오른 만큼에서 프리미엄을 뺀 금액이 된다. 그러므로 주가가 오르면 오를 수록 더 많은 수익을 낼 수 있다. (옵션 1계약은 100주이다. 옵션을 구매하면 100주에 대한 주가에 해당하는 자금이 없이 프리미엄 만큼의 자금만 지불하게 된다. 이 옵션을 행사하게 되면 계약 시 정한 행사가격 X 100주 만큼의 돈을 지불해야 한다. 행사하지 않고 만기일까지 가면 in the money 일 경우 자동으로 행사를 하게 되며 out the money 일 경우에는 그대로 소멸 된다. - 이 경우 계약 시 지불한 프리미엄 이외의 추가 자금이 지출되지 않는다.)

 

==> B. Long Put : 리스크가 한정적이므로 롱 옵션이다. Put 은 만기일 이내에 행사가격에 매도할 수 있는 권리이다. 주가가 올라가면 권리를 행사하지 않고 소멸 시킬 수 있다. 그럴 경우 프리미엄만 지출 된다. 주가가 하락하면 하락한 가격에 주식을 구매해서 행사 가격에 매도를 할 수 있다. 그러므로 하락 폭이 클 수록 더 큰 수익을 낼 수 있다. Bearish 한 전망일 경우 취할 수 있는 옵션 전략이다.

 

 

What is the breakeven for .SPX 3300 call that you bought for $81.10? 
A. 3218.90 
B. 3381.10
C. 3300
D. 3340.50

 

==> B. 3300은 행사 가격이고 81.10은 프리미엄 가격이다. 그러므로 행사가격 + 프리미엄 가격이 손익 분기점이다. 이 가격보다 높을 경우 이 옵션의 권한을 행사하면 수익을 얻을 수 있다.


When a long call is exercised, what occurs in the account? 
A. Buy 100 shares at the strike price
B. Sell 100 shares at the strike price
C. Buy 100 shares at the strike price + premium
D. Sell 100 shares at the strike price + premium

 

==> A. 롱 콜 옵션이 행사 되면 행사 가격에 해당 주식 100주를 구매 하게 된다.


When a long put is exercised, what occurs in the account?
A. Buy 100 shares at the strike price
B. Sell 100 shares at the strike price
C. Buy 100 shares at the strike price + premium
D. Sell 100 shares at the strike price + premium

 

==> B. 롱 풋 옵션의 권한을 행사하게 되면 행사 가격에 해당 주식 100주를 매도하게 된다.


If I was looking to buy a call to initiate a position in my account, what action would I 
choose?
A. Buy to open
B. Buy to close
C. Sell to open
D. Sell to close

 

==> A. 


If I was looking to close out my long call that I already had in my account, what action 
would I choose? 
A. Buy to open
B. Buy to close
C. Sell to open
D. Sell to close

 

==> D


If stock XYZ is trading at $100, which call contract is in the money?
A. 95
B. 100
C. 105

 

==> A. 수업 시간에 설명을 들어야 할 것 같음

 

If stock ABC is trading at $75, which put contract is in the money?
A. 70
B. 75
C. 80

 

==> C. 


Which option strategy could you use if you were a long stock holder who is looking to 
limit downside risk?
A. Buying a call
B. Buying a put
C. Sell a straddle
C. Sell a put

 

==> B. Protective Put Strategy를 이야기 하는 것 같음. 리스크에 제한을 두고 수익은 Put 의 프리미엄 만큼만 제외하고 주가가 오른 만큼 보겠다는 것이 Protective Put 전략이다. 내가 해당 주식을 가지고 있고 이 주식에 대해 Long Put 옵션을 구매하는 것이 Protective Put 전략이다.

 

아래 그림 같이 내가 가진 주식의 주가가 하락할 경우 풋 옵션의 권리를 행사해서 리스크를 제한하게 된다. 주가가 상승할 경우에는 이 옵션의 권리 행사를 하지 않고 소멸 시키면 된다. 그러면 이 풋 옵션에 대한 프리미엄으로 지불한 돈만큼만 지출 된다. 그리고 본인이 가지고 있는 주식의 가격은 상승하므로 주가 상승에 대한 수익은 프리미엄으로 지출한 비용을 제외한 만큼 보게 된다.

 

 


Project: Use the option chain on Fidelity.com and/or ATP and enter an underlying symbol of  your choosing. Look up the next monthly expiration and manually calculate the breakeven,  max loss, and max gain of buying an at the money call. We will review in prep portion of the  class.

 

==> option chain => i.e. ULTA => Check the price


Options trading entails significant risk and is not appropriate for all investors. Certain complex options strategies carry additional risk. 
Before trading options, please read Characteristics and Risks of Standardized Options. Supporting documentation for any claims, if  applicable, will be furnished upon request.
Any screenshots, charts, or company trading symbols mentioned are provided for illustrative purposes only and should not be  considered an offer to sell, a solicitation of an offer to buy, or a recommendation for the security.


© 2020 FMR LLC. All rights reserved.

 

반응형
이전 1 2 3 4 5 6 다음