Skip to Content
Scalar

Fees

What Scalar can charge, and the limits in the contract.

Scalar can charge a fee at three points: when a trade fills, when a position settles and when you withdraw. Deposits are free. The contract sets a hard limit on each fee, so a fee can never be larger than the amount it is taken from.

FeeWhen it is takenHow it is countedLimit in the contractTestnet today
TradingWhen your order fillsA share of the trade's notional value5% of notional, for each sideSet by the exchange
SettlementWhen your position is paidA flat amount per contractNever more than the payout$0
WithdrawalWhen you withdrawA flat amount per withdrawalThe withdrawal must be more than the fee$0
DepositNeverNoneNone$0

The notional value of a trade is its price × its size. The admin sets the settlement fee and the withdrawal fee in the contract. You can read them at any time with getSettlementFee() and getWithdrawalFee().

Trading fees

Each fill has a maker and a taker:

RoleYou are this role when
MakerYour limit order was resting on the book when it filled.
TakerYour order filled against an order that was already resting.

The exchange sets the maker rate and the taker rate, and can change them. The fee is taken from your balance in the same transaction as the trade. The contract checks each fee and rejects a trade whose fee is over 5% of its notional value.

You buy 100 contracts at $2.00. The notional value is $200.00. Whatever the rate, the trading fee on your side can never be more than $10.00.

Settlement fees

When a position is paid, a flat fee per contract can be taken from the payout. The fee is capped at the payout, so a position that pays $0 costs $0 to settle.

Withdrawal fees

A flat fee can be taken from each withdrawal. It comes out of the amount you withdraw. A request that is not larger than the fee is rejected.

Gas

ActionGas
Place or cancel an orderNone. An order is a signed message.
A trade fillsNone for you. The Scalar executor posts it.
WithdrawNone for you. The Scalar executor posts your signed request.
Deposit, and approve USDCYes. You send the transactions from your wallet.
Settle your own positionYes, if you choose to. The Scalar keeper pays positions out for free.
Withdraw without ScalarYes. You send requestWithdrawal() and fulfillWithdrawal().

On this page