Skip to content

Instantly share code, notes, and snippets.

View AWScommunity's full-sized avatar

Vivek Shrestha AWScommunity

View GitHub Profile
@AWScommunity
AWScommunity / autoTrade.py
Created September 19, 2024 14:59
autoTrade
#to implement the buying strategies (excluding iceberg orders) using a hypothetical trading API.
#focuses on placing limit buy orders at key support levels, taking advantage of thin order books,
#and executing orders during high-volume periods.
import time
import datetime
import random
class TradingAPI:
def get_order_book(self, symbol):
# Mock function to get the order book
R E A D . T H I S : gist ma image rakhna 1. paila image pc ma save gara. 2. bottomest gist ma gayera footbar ko image icon ma click garera foto upload gara. 3. tyo link copypaste chaheko gist ma gara. JustDoThisWay navaye img nakhulne etc hunxa
blog ma vane just tyo image select direct jspaint batai garee cutpaste gara