Exchange v0.1.0 Exchange View Source

Documentation for Exchange.

Link to this section Summary

Link to this section Functions

Link to this function

cancel_order(order_id, ticker)

View Source

Cancels an order on the Exchange

Link to this function

completed_trades_by_id(ticker, trader_id)

View Source

Specs

completed_trades_by_id(atom(), String.t() | atom()) :: [Exchange.Trade]
Link to this function

highest_ask_volume(ticker)

View Source
Link to this function

highest_bid_price(ticker)

View Source
Link to this function

highest_bid_volume(ticker)

View Source
Link to this function

lowest_ask_price(ticker)

View Source
Link to this function

open_orders_by_trader(ticker, trader_id)

View Source
Link to this function

place_order(order_params, ticker)

View Source

Places a marketable limit order on the Exchange

Link to this function

total_buy_orders(ticker)

View Source
Link to this function

total_sell_orders(ticker)

View Source