Skip to content

Commit

Permalink
🥚 ig placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Sep 15, 2024
1 parent c2de546 commit 98d1631
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions cefi/handler/ig.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# """

# ig client


# """

#
# from loguru import logger

# from ._client import CexClient


# class IgHandler(CexClient):
# """
# library: https://github.com/ig-python/trading-ig

# Args:
# None

# Returns:
# None

# """

# def __init__(
# self,
# **kwargs,
# ):
# """
# Initialize the ccxt client

# """
# super().__init__(**kwargs)


# async def get_quote(self, instrument):
# """
# Return a quote for a instrument


# Args:
# cex
# instrument

# Returns:
# quote
# """
# pass

# async def get_account_balance(self):
# """
# return account balance

# Args:
# None

# Returns:
# balance

# """

# return 0

# async def get_account_position(self):
# """
# Return account position.

# Args:
# None

# Returns:
# position

# """


# return 0

# async def get_trading_asset_balance(self):
# """ """
# return 0

# async def execute_order(self, order_params):
# """
# Execute order

# Args:
# order_params (dict):
# action(str)
# instrument(str)
# quantity(int)

# Returns:
# trade_confirmation(dict)

# """
# pass

0 comments on commit 98d1631

Please sign in to comment.