Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

tonyf/aioftx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asyncio FTX Python API

Requires Python >3.9,<=3.11

Usage

# Create Session
from aioftx.session import FTXClientSession
session = FTXClientSession(api_key=<INSERT_API_KEY>, api_secret=<INSERT_API_SECRET>)

# Make request using helpers
from aioftx.wallet import get_balances
balances = await get_balances(session)

# (OR) Make request using schemas
from aioftx.wallet.schemas import GetBalancesRequest, GetBalancesResponse
balances = await session.make_request(GetBalancesRequest(), response_cls=GetBalancesResponse)

Todo

  • Authentication
  • Markets API
  • Futures API
  • Account API
  • Wallet API
  • Orders API
  • Fills API
  • Funding Payments API
  • Leveraged Tokoens API
  • Options API
  • Staking API
  • OTC Quotes API
  • Spot Margin API
  • NFT API
  • Latency Stats API

About

Unofficial Python API for FTX using aiohttp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages