blankly
π πΈ Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
System Structure
μ μ₯μλ³ μ λ΅/μ€ν 쑰건 νμΈ νμ
κ±°λμ API κΈ°λ° μλ μ£Όλ¬Έ μ€ν
Editor Summaryμ μ₯μ μ€λͺ κ³Ό κ³΅κ° λ©νλ°μ΄ν° κΈ°μ€μΌλ‘ Python κΈ°λ° κ΅¬ν, μνΈνν κ±°λ λ΄, κ±°λμ API/νλ μμν¬, λ°±ν μ€νΈ μ±κ²©μ νλ‘μ νΈλ‘ νμ νμ΅λλ€. νμΈ κ·Όκ±°λ README, μ μ₯μ ν ν½, μ μ₯μ μ€λͺ , GitHub μ§ν, νμ΄νλΌμΈ νλμ΄λ©°, μ£Όμ λ°μ΄ν°λ Binance, Coinbase, FTX(μμ¬ λ°μ΄ν°), OHLCV/νΈκ°/체결 λ°μ΄ν°μ λλ€. μ λ΅/μ€ν 쑰건μ μ μ₯μλ³ λ¬Έμμ μ½λ νμΈμ΄ νμνλ©°, μ€ν λ°©μμ "κ±°λμ API κΈ°λ° μλ μ£Όλ¬Έ μ€ν"λΌκ³ 보μμ μΌλ‘ κΈ°λ‘νμ΅λλ€. GitHub μ§νλ λ³ 2454κ°, ν¬ν¬ 312κ°μ λλ€.
| Repository | blankly-finance/blankly |
|---|---|
| Creator | blankly-finance |
| Stars / Forks | β 2454 / 312 |
| License | LGPL-3.0 |
| Last Updated | 2024-12-30 |
| Snapshot Date | 2026-07-08 (README below is a copy from this date) |
This is third-party open-source code. QuantField does not guarantee its behavior or safety. Review the code before installing or running it.
README
Why Blankly?
Blankly is an ecosystem for algotraders enabling anyone to build, monetize and scale their trading algorithms for stocks, crypto, futures or forex. The same code can be backtested, paper traded, sandbox tested and run live by simply changing a single line. Develop locally then deploy, iterate and share using the blankly platform.
The blankly package is designed to be extremely precise in both simulation and live trading. The engineering considerations for highly accurate simulation are described here
Getting started is easy - just pip install blankly and blankly init.
Check out our website and our docs.
Trade Stocks, Crypto, Futures, and Forex
from blankly import Alpaca, CoinbasePro
stocks = Alpaca()
crypto = CoinbasePro()
futures = BinanceFutures()
# Easily perform the same actions across exchanges & asset types
stocks.interface.market_order('AAPL', 'buy', 1)
crypto.interface.market_order('BTC-USD', 'buy', 1)
# Full futures feature set
futures.interface.get_hedge_mode()