Skip to main content

2 posts tagged with "security"

View All Tags

How do onchain crypto options work, and who holds your money?

· 12 min read
BlockTrader365

The onchain options on BT365 trade on Derive, an options protocol. The contract is the one an exchange lists, a right to a payoff at a set price on a set date. What differs is where things sit: the account belongs to your wallet, the margin and settlement are verified on Ethereum, and BT365 holds a key that can trade and cannot withdraw.

This article sets out the contract, who holds what, what can be traded, what an order does on its way to a fill, and where the product stops.

How do you authenticate a trading bot safely with API keys?

· 7 min read
BlockTrader365

If you have integrated one exchange API you have integrated most of them. The signing scheme is near-universal: a key id, a secret, an HMAC over some canonical form of the request.

What varies — and what almost no documentation explains — is exactly which bytes go into the signature, what else the server checks, and in what order. Those details are the security. The HMAC is the easy part.