β‘οΈ Quick Start
conda install python 3.8
conda install pyupbit
conda install pyjwt
# main.py
import time
import pyupbit as p
access = "upbit access key"
secret = "upbit secret key"
login = p.Upbit(access, secret)
coin_list = ["KRW-BTT", "KRW-AHT", "KRW-TT", "KRW-CRE", 'KRW-MFT', 'KRW-RFR', 'KRW-TSHP', 'KRW-OBSR', 'KRW-MVL',
'KRW-IQ',
'KRW-QKC', 'KRW-STMX', 'KRW-IOST', 'KRW-QTCON', 'KRW-EDR', 'KRW-LAMB', 'KRW-STPT', 'KRW-PXL', 'KRW-SSX',
'KRW-JST',
'KRW-IGNIS', 'KRW-ORBS', 'KRW-HUM', 'KRW-LOOM', 'KRW-UPP', 'KRW-META', 'KRW-MOC', 'KRW-TRX', 'KRW-FCT2',
'KRW-LBC',
'KRW-ANKR', 'KRW-CRO', 'KRW-SNT', 'KRW-WAXP', 'KRW-OMG', 'KRW-EOS', 'KRW-SRM', 'KRW-THETA',
'KRW-GAS',
'KRW-QTUM', 'KRW-FLOW', "KRW-STRK", "KRW-PUNDIX"]
first_percent = 0.02 # μμν λ λͺνΌμΌνΈ μ΄μ μ¦κ°ν μ
target_percent = 0.05 # λͺνΌμΌνΈ μ΄μ μ΄μ΅λ μ
money = 5500 # λ°κ²¬νλ©΄ λ£μ μλ
- first_percent : 0.02 μ λ ₯ μ 2μ΄μ¬μ΄μ 2νΌμΌνΈκ° μ¦κ°ν μ½μΈμ νμν©λλ€
- target_percent : 0.05 μ λ ₯ μ 맀μ κ°κ²©μ 5νΌμΌνΈκ° μ¦κ°νμ κ²½μ° μλ 맀λν©λλ€.
- money : νμ μ±κ³΅ν μ½μΈμ ꡬ맀ν κ°κ²©μ μ ν©λλ€.(μμλ£μ μ΅μ 맀μ κ°κ²©μ΄ μ ν΄μ Έμμ΄ 5500μμ΄ μ΅μ)
- μ΄ κ²½μ£Όλ§ νμκΈ°λ μΉμμΌμ κΈ°λ°μΌλ‘ νκΈ° λλ¬Έμ μ€μ μμ₯μν©κ³Όμ μκ° κ²©μ°¨κ° 0.5μ΄μ λ μ‘΄μ¬ν©λλ€
- μ΄ νλ‘κ·Έλ¨μΌλ‘ μΈν΄ μκΈ΄ μμ€μ μ μ μΌλ‘ μ¬μ©μμκ² μμμ μ립λλ€.