This commit is contained in:
Ichinga Samuel
2025-08-10 04:14:00 +01:00
parent bae2983bde
commit 1dede5515e
33 changed files with 1768 additions and 199 deletions
+7 -2
View File
@@ -7,6 +7,11 @@ def btc_usd():
return Symbol(name="BTCUSD")
@pytest.fixture(scope="function")
def eth_usd():
return Symbol(name="ETHUSD")
@pytest.fixture(scope="function")
async def buy_order(btc_usd):
sym = btc_usd
@@ -26,8 +31,8 @@ async def buy_order(btc_usd):
@pytest.fixture(scope="function")
async def sell_order(btc_usd):
sym = btc_usd
async def sell_order(eth_usd):
sym = eth_usd
sym_info = await sym.mt5.symbol_info(sym.name)
return {
"action": sym.mt5.TRADE_ACTION_DEAL,