File API hanya memberikan jumlah pembelian yang ditentukan.
def main (:
id = exchange.Buy ((100, 1)
Log ((
benseexchange.Buy (http://exchange.Buy)
RumputSaldo/harga yang tersedia
ktraderbeliPrice = _N ((ticker.Sell + spread, ZPrecision) buyAmount = _N(diffAsset / buyPrice, XPrecision) jika buyAmount < MinStock: kembali False tukar.Beli ((beliHarga, beliJumlah)