mirror of
https://github.com/Ichinga-Samuel/aiomql.git
synced 2026-08-26 10:08:05 +00:00
Add integration test for Result and TradeRecords classes
rename unittests to unit change TradeRecords.get_csv_records and TradeRecord.get_json_records methods to non-async.
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ async def buy_order(mt):
|
||||
'type': mt.ORDER_TYPE_BUY, 'price': sym_info.ask, 'sl': sl, 'tp': tp}
|
||||
|
||||
@pytest.fixture(scope='class')
|
||||
async def make_orders(mt):
|
||||
async def make_buy_sell_orders(mt):
|
||||
sym = 'BTCUSD'
|
||||
sym_info = await mt.symbol_info(sym)
|
||||
dsl = (sym_info.trade_stops_level + sym_info.spread) * 2 * sym_info.point
|
||||
|
||||
Reference in New Issue
Block a user