blockhain_transaction#

tradeexecutor.state.blockhain_transaction Python module in Trading Strategy framework.

Module description#

Tracking of blockchain transactions.

  • Creating transactions and signing them from hot wallet

  • Broadcasting and tracking transaction mining status

  • Resolving succeed or failed transactions to succeed or failed trades

Classes#

BlockchainTransaction

A stateful blockchain transaction.

BlockchainTransactionType

What kind of transactions we generate.

JSONAssetDelta

JSON serialisable asset delta.

Functions#

solidity_arg_encoder(val)

JSON safe Solidity function argument encoder.