generated from mraniki/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #511 from mraniki/dev
Dev
- Loading branch information
Showing
3 changed files
with
300 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# """ | ||
|
||
# Fxcm client | ||
|
||
|
||
# """ | ||
|
||
|
||
# from loguru import logger | ||
|
||
# from .client import CexClient | ||
|
||
|
||
# class FxcmHandler(CexClient): | ||
# """ | ||
# library: | ||
|
||
# Args: | ||
# None | ||
|
||
# Returns: | ||
# None | ||
|
||
# """ | ||
|
||
# def __init__( | ||
# self, | ||
# **kwargs, | ||
# ): | ||
# """ | ||
# Initialize the 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. | ||
# of a given exchange | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# """ | ||
|
||
# Oanda client | ||
|
||
|
||
# """ | ||
|
||
|
||
# from loguru import logger | ||
|
||
# from .client import CexClient | ||
|
||
|
||
# class OandaHandler(CexClient): | ||
# """ | ||
# library: | ||
|
||
# Args: | ||
# None | ||
|
||
# Returns: | ||
# None | ||
|
||
# """ | ||
|
||
# def __init__( | ||
# self, | ||
# **kwargs, | ||
# ): | ||
# """ | ||
# Initialize the 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. | ||
# of a given exchange | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
# """ | ||
|
||
# Schwab client | ||
|
||
|
||
# """ | ||
|
||
|
||
# from loguru import logger | ||
|
||
# from .client import CexClient | ||
|
||
|
||
# class SchwabHandler(CexClient): | ||
# """ | ||
# library: | ||
|
||
# Args: | ||
# None | ||
|
||
# Returns: | ||
# None | ||
|
||
# """ | ||
|
||
# def __init__( | ||
# self, | ||
# **kwargs, | ||
# ): | ||
# """ | ||
# Initialize the 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. | ||
# of a given exchange | ||
|
||
# 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 |