Skip to content

webbergde/archon

 
 

Repository files navigation

Archon

Archon is a trading framework for Internet/Crypto exchanges. It makes it simple to trade on multiple exchanges through the API's. This allows the users to define any trading system or application they want across all available exchanges.

The framework allows the user to

  • engage in all typical exchange functions such as: submitting orders, tracking balances and market prices
  • use any product of any exchange at the same time giving a larger set of assets and instruments to trade, as well as more liquidity at lower risk
  • tracking assets, Profit-and-loss statements, strategy analysis
  • hedging and portfolio construction
  • custom user-interface for trading
  • writing algorithms i.e. bots

Ecosystem which can be built on top

  • Multi-Exchange trading interface
  • Trading bots: arbitrage, market-making, directional trading
  • Streaming service
  • and more

Architecture

arch Image

examples

get global balances (source)

a = broker.Broker()
a.set_active_exchanges([exc.BINANCE])
bl = a.global_balances()
print (bl)

orderbooks (source)

book = a.afacade.get_orderbook(market,exchange)
name = exc.NAMES[exchange]
display_book(book, name)

balance_all.py - send balance report via mail

order.py - submit order example

cancel.py - cancel open order by command line

user_tx.py - user transactions

simply strategy

strategy.py - basic strategy example

install

see install doc

API keys - recommended is to limit the keys to disallow withdraws

Whitepaper

https://docs.google.com/document/d/1FWQLGnzlZllC51M86iJbp5lcOvtQzisMInrTKHAeE2c/edit?usp=sharing

Telegram group

https://t.me/joinchat/Dzif7RALfRB98BocX72Z3Q

About

Trading framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Dockerfile 0.1%